共用方式為


RelationalQueryableMethodTranslatingExpressionVisitor.TranslateThenBy 方法

定義

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

參數

source
ShapedQueryExpression

套用運算子的成形查詢。

keySelector
LambdaExpression

呼叫中提供的金鑰選取器。

ascending
Boolean

值,指出順序是否遞增。

傳回

翻譯後的成形查詢。

適用於