IAggregateMethodCallTranslator.Translate Yöntem

Tanım

LINQ'i MethodCallExpression SQL eşdeğerine çevirir.

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

Parametreler

method
MethodInfo

'den Methodyöntem bilgileri.

source
EnumerableExpression

Toplama yönteminin uygulandığı kaynak.

arguments
IReadOnlyList<SqlExpression>

skaler Argumentsöğesinin SQL gösterimleri.

logger
IDiagnosticsLogger<DbLoggerCategory.Query>

Kullanılacak sorgu günlükçü.

Döndürülenler

öğesinin SQL çevirisi MethodCallExpression.

Şunlara uygulanır