Partilhar via


QuerySqlGenerator.VisitProjection(ProjectionExpression) Method

Definition

Generates SQL for a single projection in a SELECT expression.

protected override System.Linq.Expressions.Expression VisitProjection (Microsoft.EntityFrameworkCore.Query.SqlExpressions.ProjectionExpression projectionExpression);
override this.VisitProjection : Microsoft.EntityFrameworkCore.Query.SqlExpressions.ProjectionExpression -> System.Linq.Expressions.Expression
Protected Overrides Function VisitProjection (projectionExpression As ProjectionExpression) As Expression

Parameters

projectionExpression
ProjectionExpression

The ProjectionExpression for which to generate SQL.

Returns

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

Applies to