IMemberTranslatorProvider.Translate Método
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Translate(SqlExpression, MemberInfo, Type) | |
Translate(SqlExpression, MemberInfo, Type, IDiagnosticsLogger<DbLoggerCategory.Query>) |
Converte um LINQ em MemberExpression um equivalente de SQL. |
public Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression Translate (Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression instance, System.Reflection.MemberInfo member, Type returnType);
abstract member Translate : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression * System.Reflection.MemberInfo * Type -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression
Public Function Translate (instance As SqlExpression, member As MemberInfo, returnType As Type) As SqlExpression
Parâmetros
- instance
- SqlExpression
- member
- MemberInfo
- returnType
- Type
Retornos
Aplica-se a
- Origem:
- IMemberTranslatorProvider.cs
- Origem:
- IMemberTranslatorProvider.cs
- Origem:
- IMemberTranslatorProvider.cs
Converte um LINQ em MemberExpression um equivalente de SQL.
public Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression Translate (Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression instance, System.Reflection.MemberInfo member, Type returnType, Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Query> logger);
public Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression? Translate (Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression? instance, System.Reflection.MemberInfo member, Type returnType, Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Query> logger);
abstract member Translate : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression * System.Reflection.MemberInfo * Type * Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Query> -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression
Public Function Translate (instance As SqlExpression, member As MemberInfo, returnType As Type, logger As IDiagnosticsLogger(Of DbLoggerCategory.Query)) As SqlExpression
Parâmetros
- instance
- SqlExpression
Uma representação SQL de Expression.
- member
- MemberInfo
As informações do membro de Member.
O agente de consulta a ser usado.
Retornos
Uma tradução SQL do MemberExpression.
Aplica-se a
Comentários do Entity Framework
O Entity Framework é um projeto código aberto. Selecione um link para fornecer comentários: