SqlTranslatingExpressionVisitor Construtores
Definição
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.
Sobrecargas
SqlTranslatingExpressionVisitor(SqlTranslatingExpressionVisitorDependencies, RelationalQueryModelVisitor, SelectExpression, Expression, Boolean)
Cria uma nova instância de SqlTranslatingExpressionVisitor.
public SqlTranslatingExpressionVisitor (Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.SqlTranslatingExpressionVisitorDependencies dependencies, Microsoft.EntityFrameworkCore.Query.RelationalQueryModelVisitor queryModelVisitor, Microsoft.EntityFrameworkCore.Query.Expressions.SelectExpression targetSelectExpression = default, System.Linq.Expressions.Expression topLevelPredicate = default, bool inProjection = false);
new Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.SqlTranslatingExpressionVisitor : Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.SqlTranslatingExpressionVisitorDependencies * Microsoft.EntityFrameworkCore.Query.RelationalQueryModelVisitor * Microsoft.EntityFrameworkCore.Query.Expressions.SelectExpression * System.Linq.Expressions.Expression * bool -> Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.SqlTranslatingExpressionVisitor
Public Sub New (dependencies As SqlTranslatingExpressionVisitorDependencies, queryModelVisitor As RelationalQueryModelVisitor, Optional targetSelectExpression As SelectExpression = Nothing, Optional topLevelPredicate As Expression = Nothing, Optional inProjection As Boolean = false)
Parâmetros
- dependencies
- SqlTranslatingExpressionVisitorDependencies
Objeto parameter que contém dependências para esse serviço.
- queryModelVisitor
- RelationalQueryModelVisitor
O visitante do modelo de consulta.
- targetSelectExpression
- SelectExpression
A expressão de seleção de destino.
- topLevelPredicate
- Expression
O predicado de nível superior.
- inProjection
- Boolean
true se a expressão a ser traduzida for uma projeção LINQ.
Aplica-se a
SqlTranslatingExpressionVisitor(IRelationalAnnotationProvider, IExpressionFragmentTranslator, IMethodCallTranslator, IMemberTranslator, IRelationalTypeMapper, RelationalQueryModelVisitor, SelectExpression, Expression, Boolean, Boolean)
Cria uma nova instância de SqlTranslatingExpressionVisitor.
public SqlTranslatingExpressionVisitor (Microsoft.EntityFrameworkCore.Metadata.IRelationalAnnotationProvider relationalAnnotationProvider, Microsoft.EntityFrameworkCore.Query.ExpressionTranslators.IExpressionFragmentTranslator compositeExpressionFragmentTranslator, Microsoft.EntityFrameworkCore.Query.ExpressionTranslators.IMethodCallTranslator methodCallTranslator, Microsoft.EntityFrameworkCore.Query.ExpressionTranslators.IMemberTranslator memberTranslator, Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMapper relationalTypeMapper, Microsoft.EntityFrameworkCore.Query.RelationalQueryModelVisitor queryModelVisitor, Microsoft.EntityFrameworkCore.Query.Expressions.SelectExpression targetSelectExpression = default, System.Linq.Expressions.Expression topLevelPredicate = default, bool bindParentQueries = false, bool inProjection = false);
new Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.SqlTranslatingExpressionVisitor : Microsoft.EntityFrameworkCore.Metadata.IRelationalAnnotationProvider * Microsoft.EntityFrameworkCore.Query.ExpressionTranslators.IExpressionFragmentTranslator * Microsoft.EntityFrameworkCore.Query.ExpressionTranslators.IMethodCallTranslator * Microsoft.EntityFrameworkCore.Query.ExpressionTranslators.IMemberTranslator * Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMapper * Microsoft.EntityFrameworkCore.Query.RelationalQueryModelVisitor * Microsoft.EntityFrameworkCore.Query.Expressions.SelectExpression * System.Linq.Expressions.Expression * bool * bool -> Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.SqlTranslatingExpressionVisitor
Public Sub New (relationalAnnotationProvider As IRelationalAnnotationProvider, compositeExpressionFragmentTranslator As IExpressionFragmentTranslator, methodCallTranslator As IMethodCallTranslator, memberTranslator As IMemberTranslator, relationalTypeMapper As IRelationalTypeMapper, queryModelVisitor As RelationalQueryModelVisitor, Optional targetSelectExpression As SelectExpression = Nothing, Optional topLevelPredicate As Expression = Nothing, Optional bindParentQueries As Boolean = false, Optional inProjection As Boolean = false)
Parâmetros
- relationalAnnotationProvider
- IRelationalAnnotationProvider
O provedor de anotação relacional.
- compositeExpressionFragmentTranslator
- IExpressionFragmentTranslator
O tradutor de fragmento de expressão composta.
- methodCallTranslator
- IMethodCallTranslator
O tradutor de chamada de método.
- memberTranslator
- IMemberTranslator
O tradutor de membros.
- relationalTypeMapper
- IRelationalTypeMapper
O mapeador de tipo relacional.
- queryModelVisitor
- RelationalQueryModelVisitor
O visitante do modelo de consulta.
- targetSelectExpression
- SelectExpression
A expressão de seleção de destino.
- topLevelPredicate
- Expression
O predicado de nível superior.
- bindParentQueries
- Boolean
true para associar consultas pai.
- inProjection
- Boolean
true se a expressão a ser traduzida for uma projeção LINQ.
Aplica-se a
Entity Framework