Compartilhar via


RelationalQueryableMethodTranslatingExpressionVisitor.TranslateGroupBy Método

Definição

Converte o GroupBy<TSource,TKey>(IQueryable<TSource>, Expression<Func<TSource,TKey>>) método e outras sobrecargas sobre a fonte fornecida.

protected override Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression TranslateGroupBy (Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression source, System.Linq.Expressions.LambdaExpression keySelector, System.Linq.Expressions.LambdaExpression elementSelector, System.Linq.Expressions.LambdaExpression resultSelector);
protected override Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression? TranslateGroupBy (Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression source, System.Linq.Expressions.LambdaExpression keySelector, System.Linq.Expressions.LambdaExpression? elementSelector, System.Linq.Expressions.LambdaExpression? resultSelector);
override this.TranslateGroupBy : Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression * System.Linq.Expressions.LambdaExpression * System.Linq.Expressions.LambdaExpression * System.Linq.Expressions.LambdaExpression -> Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression
Protected Overrides Function TranslateGroupBy (source As ShapedQueryExpression, keySelector As LambdaExpression, elementSelector As LambdaExpression, resultSelector As LambdaExpression) As ShapedQueryExpression

Parâmetros

source
ShapedQueryExpression

A consulta em forma na qual o operador é aplicado.

keySelector
LambdaExpression

O seletor de chave fornecido na chamada.

elementSelector
LambdaExpression

O seletor de elemento fornecido na chamada.

resultSelector
LambdaExpression

O seletor de resultados fornecido na chamada.

Retornos

A consulta em forma após a tradução.

Aplica-se a