Partilhar via


QuerySqlGenerator.VisitOrdering(OrderingExpression) Method

Definition

Generates SQL for a single ordering in a SELECT ORDER BY clause.

protected override System.Linq.Expressions.Expression VisitOrdering (Microsoft.EntityFrameworkCore.Query.SqlExpressions.OrderingExpression orderingExpression);
override this.VisitOrdering : Microsoft.EntityFrameworkCore.Query.SqlExpressions.OrderingExpression -> System.Linq.Expressions.Expression
Protected Overrides Function VisitOrdering (orderingExpression As OrderingExpression) As Expression

Parameters

orderingExpression
OrderingExpression

The OrderingExpression for which to generate SQL.

Returns

The modified expression, if it or any subexpression was modified; otherwise, returns the original expression.

Applies to