RelationalQueryableMethodTranslatingExpressionVisitor.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 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

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