Share via


EnumerableExpression.ApplyOrdering(OrderingExpression) Method

Definition

Applies ordering to the EnumerableExpression. This overwrites any previous ordering specified.

public virtual Microsoft.EntityFrameworkCore.Query.EnumerableExpression ApplyOrdering (Microsoft.EntityFrameworkCore.Query.SqlExpressions.OrderingExpression orderingExpression);
abstract member ApplyOrdering : Microsoft.EntityFrameworkCore.Query.SqlExpressions.OrderingExpression -> Microsoft.EntityFrameworkCore.Query.EnumerableExpression
override this.ApplyOrdering : Microsoft.EntityFrameworkCore.Query.SqlExpressions.OrderingExpression -> Microsoft.EntityFrameworkCore.Query.EnumerableExpression
Public Overridable Function ApplyOrdering (orderingExpression As OrderingExpression) As EnumerableExpression

Parameters

orderingExpression
OrderingExpression

An ordering expression to use for ordering.

Returns

The new expression with specified component updated.

Applies to