IMethodCallTranslator.Translate Método

Definición

Sobrecargas

Translate(SqlExpression, MethodInfo, IReadOnlyList<SqlExpression>)

public Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression Translate (Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression instance, System.Reflection.MethodInfo method, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression> arguments);

Parámetros

instance
SqlExpression
method
MethodInfo

Devoluciones

Se aplica a

Translate(SqlExpression, MethodInfo, IReadOnlyList<SqlExpression>, IDiagnosticsLogger<DbLoggerCategory.Query>)

Source:
IMethodCallTranslator.cs
Source:
IMethodCallTranslator.cs
Source:
IMethodCallTranslator.cs

Traduce un LINQ MethodCallExpression a un equivalente de SQL.

public Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression Translate (Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression instance, System.Reflection.MethodInfo method, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression> arguments, Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Query> logger);
public Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression? Translate (Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression? instance, System.Reflection.MethodInfo method, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression> arguments, Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Query> logger);

Parámetros

instance
SqlExpression

Representación SQL de Object.

method
MethodInfo

Información del método de Method.

arguments
IReadOnlyList<SqlExpression>

Representaciones SQL de Arguments.

logger
IDiagnosticsLogger<DbLoggerCategory.Query>

Registrador de consultas que se va a usar.

Devoluciones

Una traducción SQL de MethodCallExpression.

Se aplica a