Partager via


QuerySqlGenerator.GenerateEmptyProjection(SelectExpression) Method

Definition

Generates SQL for an empty projection for a SELECT expression. This is typically a single 1 literal, but can be overridden for providers which require a different format.

protected virtual void GenerateEmptyProjection (Microsoft.EntityFrameworkCore.Query.SqlExpressions.SelectExpression selectExpression);
abstract member GenerateEmptyProjection : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SelectExpression -> unit
override this.GenerateEmptyProjection : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SelectExpression -> unit
Protected Overridable Sub GenerateEmptyProjection (selectExpression As SelectExpression)

Parameters

selectExpression
SelectExpression

SelectExpression for which the empty projection will be generated.

Applies to