Aracılığıyla paylaş


QueryableMethodTranslatingExpressionVisitor.TranslateGroupBy Yöntem

Tanım

GroupBy<TSource,TKey>(IQueryable<TSource>, Expression<Func<TSource,TKey>>) Belirtilen kaynak üzerinde yöntemi ve diğer aşırı yüklemeleri çevirir.

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

Parametreler

source
ShapedQueryExpression

İşlecin uygulandığı şekillendirilmiş sorgu.

keySelector
LambdaExpression

Çağrıda sağlanan anahtar seçici.

elementSelector
LambdaExpression

Çağrıda sağlanan öğe seçici.

resultSelector
LambdaExpression

Çağrıda sağlanan sonuç seçici.

Döndürülenler

Çeviriden sonra şekillendirilmiş sorgu.

Şunlara uygulanır