共用方式為


SelectExpression.ApplyGrouping 方法

定義

多載

ApplyGrouping(Expression, Expression, ISqlExpressionFactory)

從指定的索引鍵選取器套用群組,並產生 RelationalGroupByShaperExpression 至圖形結果。

ApplyGrouping(Expression)

從指定的索引鍵選取器套用群組。

ApplyGrouping(Expression, Expression, ISqlExpressionFactory)

從指定的索引鍵選取器套用群組,並產生 RelationalGroupByShaperExpression 至圖形結果。

public Microsoft.EntityFrameworkCore.Query.GroupByShaperExpression ApplyGrouping (System.Linq.Expressions.Expression keySelector, System.Linq.Expressions.Expression shaperExpression, Microsoft.EntityFrameworkCore.Query.ISqlExpressionFactory sqlExpressionFactory);
public Microsoft.EntityFrameworkCore.Query.RelationalGroupByShaperExpression ApplyGrouping (System.Linq.Expressions.Expression keySelector, System.Linq.Expressions.Expression shaperExpression, Microsoft.EntityFrameworkCore.Query.ISqlExpressionFactory sqlExpressionFactory);
member this.ApplyGrouping : System.Linq.Expressions.Expression * System.Linq.Expressions.Expression * Microsoft.EntityFrameworkCore.Query.ISqlExpressionFactory -> Microsoft.EntityFrameworkCore.Query.GroupByShaperExpression
member this.ApplyGrouping : System.Linq.Expressions.Expression * System.Linq.Expressions.Expression * Microsoft.EntityFrameworkCore.Query.ISqlExpressionFactory -> Microsoft.EntityFrameworkCore.Query.RelationalGroupByShaperExpression
Public Function ApplyGrouping (keySelector As Expression, shaperExpression As Expression, sqlExpressionFactory As ISqlExpressionFactory) As GroupByShaperExpression
Public Function ApplyGrouping (keySelector As Expression, shaperExpression As Expression, sqlExpressionFactory As ISqlExpressionFactory) As RelationalGroupByShaperExpression

參數

keySelector
Expression

GROUP BY 的索引鍵選取器運算式。

shaperExpression
Expression

目前查詢的圖形運算式。

sqlExpressionFactory
ISqlExpressionFactory

要使用的 sql 運算式處理站。

傳回

RelationalGroupByShaperExpression 表示群組作業的結果。

適用於

ApplyGrouping(Expression)

從指定的索引鍵選取器套用群組。

public void ApplyGrouping (System.Linq.Expressions.Expression keySelector);
member this.ApplyGrouping : System.Linq.Expressions.Expression -> unit
Public Sub ApplyGrouping (keySelector As Expression)

參數

keySelector
Expression

GROUP BY 的索引鍵選取器運算式。

適用於