RelationalQueryableMethodTranslatingExpressionVisitor.IsNaturallyOrdered 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.
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
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