Freigeben über


QuerySqlGenerator.VisitScalarSubquery(ScalarSubqueryExpression) Method

Definition

Generates SQL for a scalar subquery.

protected override System.Linq.Expressions.Expression VisitScalarSubquery (Microsoft.EntityFrameworkCore.Query.SqlExpressions.ScalarSubqueryExpression scalarSubqueryExpression);
override this.VisitScalarSubquery : Microsoft.EntityFrameworkCore.Query.SqlExpressions.ScalarSubqueryExpression -> System.Linq.Expressions.Expression
Protected Overrides Function VisitScalarSubquery (scalarSubqueryExpression As ScalarSubqueryExpression) As Expression

Parameters

scalarSubqueryExpression
ScalarSubqueryExpression

The ScalarSubqueryExpression for which to generate SQL.

Returns

The modified expression, if it or any subexpression was modified; otherwise, returns the original expression.

Applies to