QueryableMethodTranslatingExpressionVisitor.TranslateGroupBy Método

Definição

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

protected abstract 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 abstract 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);
abstract member TranslateGroupBy : Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression * System.Linq.Expressions.LambdaExpression * System.Linq.Expressions.LambdaExpression * System.Linq.Expressions.LambdaExpression -> Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression
Protected MustOverride 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