SqlNullabilityProcessor.VisitRowNumber Method

Definition

Visits a RowNumberExpression and computes its nullability.

protected virtual Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression VisitRowNumber (Microsoft.EntityFrameworkCore.Query.SqlExpressions.RowNumberExpression rowNumberExpression, bool allowOptimizedExpansion, out bool nullable);
abstract member VisitRowNumber : Microsoft.EntityFrameworkCore.Query.SqlExpressions.RowNumberExpression * bool * bool -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression
override this.VisitRowNumber : Microsoft.EntityFrameworkCore.Query.SqlExpressions.RowNumberExpression * bool * bool -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression
Protected Overridable Function VisitRowNumber (rowNumberExpression As RowNumberExpression, allowOptimizedExpansion As Boolean, ByRef nullable As Boolean) As SqlExpression

Parameters

rowNumberExpression
RowNumberExpression

A row number expression to visit.

allowOptimizedExpansion
Boolean

A bool value indicating if optimized expansion which considers null value as false value is allowed.

nullable
Boolean

A bool value indicating whether the sql expression is nullable.

Returns

An optimized sql expression.

Applies to