Partager via


SelectExpression.ApplyGrouping Method

Definition

Overloads

ApplyGrouping(Expression, Expression, ISqlExpressionFactory)

Applies grouping from given key selector and generate RelationalGroupByShaperExpression to shape results.

ApplyGrouping(Expression)

Applies grouping from given key selector.

ApplyGrouping(Expression, Expression, ISqlExpressionFactory)

Source:
SelectExpression.cs
Source:
SelectExpression.cs
Source:
SelectExpression.cs
Source:
SelectExpression.cs

Applies grouping from given key selector and generate RelationalGroupByShaperExpression to shape results.

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

Parameters

keySelector
Expression

An key selector expression for the GROUP BY.

shaperExpression
Expression

The shaper expression for current query.

sqlExpressionFactory
ISqlExpressionFactory

The sql expression factory to use.

Returns

A RelationalGroupByShaperExpression which represents the result of the grouping operation.

Applies to

ApplyGrouping(Expression)

Source:
SelectExpression.cs
Source:
SelectExpression.cs
Source:
SelectExpression.cs
Source:
SelectExpression.cs
Source:
SelectExpression.cs
Source:
SelectExpression.cs
Source:
SelectExpression.cs

Applies grouping from given key selector.

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

Parameters

keySelector
Expression

An key selector expression for the GROUP BY.

Applies to