Compartilhar via


SelectExpression.ApplyGrouping Método

Definição

Sobrecargas

ApplyGrouping(Expression, Expression, ISqlExpressionFactory)

Aplica o agrupamento de determinado seletor de chave e gera RelationalGroupByShaperExpression aos resultados da forma.

ApplyGrouping(Expression)

Aplica o agrupamento de determinado seletor de chave.

ApplyGrouping(Expression, Expression, ISqlExpressionFactory)

Aplica o agrupamento de determinado seletor de chave e gera RelationalGroupByShaperExpression aos resultados da forma.

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

Parâmetros

keySelector
Expression

Uma expressão de seletor de chave para GROUP BY.

shaperExpression
Expression

A expressão do shaper para a consulta atual.

sqlExpressionFactory
ISqlExpressionFactory

A fábrica de expressões sql a ser usada.

Retornos

Um RelationalGroupByShaperExpression que representa o resultado da operação de agrupamento.

Aplica-se a

ApplyGrouping(Expression)

Aplica o agrupamento de determinado seletor de chave.

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

Parâmetros

keySelector
Expression

Uma expressão de seletor de chave para GROUP BY.

Aplica-se a