다음을 통해 공유


IAggregateMethodCallTranslator.Translate 메서드

정의

LINQ MethodCallExpression 를 SQL에 해당하는 값으로 변환합니다.

public Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression? Translate (System.Reflection.MethodInfo method, Microsoft.EntityFrameworkCore.Query.EnumerableExpression source, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression> arguments, Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Query> logger);
abstract member Translate : System.Reflection.MethodInfo * Microsoft.EntityFrameworkCore.Query.EnumerableExpression * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression> * Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Query> -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression
Public Function Translate (method As MethodInfo, source As EnumerableExpression, arguments As IReadOnlyList(Of SqlExpression), logger As IDiagnosticsLogger(Of DbLoggerCategory.Query)) As SqlExpression

매개 변수

method
MethodInfo

의 메서드 정보입니다 Method.

source
EnumerableExpression

집계 메서드가 적용되는 원본입니다.

arguments
IReadOnlyList<SqlExpression>

스칼라 Arguments의 SQL 표현입니다.

logger
IDiagnosticsLogger<DbLoggerCategory.Query>

사용할 쿼리 로거입니다.

반환

의 SQL 번역입니다 MethodCallExpression.

적용 대상