Share via


RelationalQueryableMethodTranslatingExpressionVisitor.IsNaturallyOrdered Method

Definition

Determines whether the given SelectExpression is naturally ordered, meaning that any ordering has been added automatically by EF to preserve e.g. the natural ordering of a JSON array, and not because the original LINQ query contained an explicit ordering.

protected virtual bool IsNaturallyOrdered (Microsoft.EntityFrameworkCore.Query.SqlExpressions.SelectExpression selectExpression);
abstract member IsNaturallyOrdered : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SelectExpression -> bool
override this.IsNaturallyOrdered : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SelectExpression -> bool
Protected Overridable Function IsNaturallyOrdered (selectExpression As SelectExpression) As Boolean

Parameters

selectExpression
SelectExpression

The SelectExpression to check for ordering.

Returns

Whether selectExpression is ordered.

Applies to