Share via


QuerySqlGenerator.GenerateTop(SelectExpression) Method

Definition

Generates SQL for the TOP clause of the given SELECT expression.

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

Parameters

selectExpression
SelectExpression

The SelectExpression for whose TOP clause to generate SQL.

Applies to