RelationalQueryableMethodTranslatingExpressionVisitor.TranslateOrderBy Metodo

Definizione

protected override Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression TranslateOrderBy (Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression source, System.Linq.Expressions.LambdaExpression keySelector, bool ascending);
protected override Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression? TranslateOrderBy (Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression source, System.Linq.Expressions.LambdaExpression keySelector, bool ascending);
override this.TranslateOrderBy : Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression * System.Linq.Expressions.LambdaExpression * bool -> Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression
Protected Overrides Function TranslateOrderBy (source As ShapedQueryExpression, keySelector As LambdaExpression, ascending As Boolean) As ShapedQueryExpression

Parametri

source
ShapedQueryExpression

Query con forma su cui viene applicato l'operatore.

keySelector
LambdaExpression

Selettore di tasti fornito nella chiamata.

ascending
Boolean

Valore che indica se l'ordinamento è crescente o meno.

Restituisce

Query con forma dopo la traduzione.

Si applica a