Condividi tramite


RelationalQueryableMethodTranslatingExpressionVisitor.TranslateGroupBy Metodo

Definizione

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

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

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