Condividi tramite


QueryableMethodTranslatingExpressionVisitor.TranslateGroupBy Metodo

Definizione

Converte GroupBy<TSource,TKey>(IQueryable<TSource>, Expression<Func<TSource,TKey>>) il metodo e altri overload sull'origine specificata.

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

Parametri

source
ShapedQueryExpression

Query con forma su cui viene applicato l'operatore.

keySelector
LambdaExpression

Selettore di chiavi fornito nella chiamata.

elementSelector
LambdaExpression

Selettore di elementi fornito nella chiamata.

resultSelector
LambdaExpression

Selettore dei risultati fornito nella chiamata.

Restituisce

Query con forma dopo la traduzione.

Si applica a