다음을 통해 공유


QueryableMethodTranslatingExpressionVisitor.TranslateGroupBy 메서드

정의

지정된 원본에 GroupBy<TSource,TKey>(IQueryable<TSource>, Expression<Func<TSource,TKey>>) 대한 메서드 및 기타 오버로드를 변환합니다.

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

매개 변수

source
ShapedQueryExpression

연산자가 적용되는 셰이드 쿼리입니다.

keySelector
LambdaExpression

호출에 제공된 키 선택기입니다.

elementSelector
LambdaExpression

호출에 제공된 요소 선택기입니다.

resultSelector
LambdaExpression

호출에 제공된 결과 선택기입니다.

반환

변환 후의 셰이드 쿼리입니다.

적용 대상