QuerySqlGenerator.GenerateEmptyProjection(SelectExpression) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework