SqlTranslatingExpressionVisitor Costruttori
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Overload
SqlTranslatingExpressionVisitor(SqlTranslatingExpressionVisitorDependencies, RelationalQueryModelVisitor, SelectExpression, Expression, Boolean)
Crea una nuova istanza di 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)
Parametri
- dependencies
- SqlTranslatingExpressionVisitorDependencies
Oggetto Parameter contenente dipendenze per questo servizio.
- queryModelVisitor
- RelationalQueryModelVisitor
Visitatore del modello di query.
- targetSelectExpression
- SelectExpression
Espressione di selezione di destinazione.
- topLevelPredicate
- Expression
Predicato di primo livello.
- inProjection
- Boolean
true se l'espressione da tradurre è una proiezione LINQ.
Si applica a
SqlTranslatingExpressionVisitor(IRelationalAnnotationProvider, IExpressionFragmentTranslator, IMethodCallTranslator, IMemberTranslator, IRelationalTypeMapper, RelationalQueryModelVisitor, SelectExpression, Expression, Boolean, Boolean)
Crea una nuova istanza di 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)
Parametri
- relationalAnnotationProvider
- IRelationalAnnotationProvider
Provider di annotazioni relazionali.
- compositeExpressionFragmentTranslator
- IExpressionFragmentTranslator
Traduzione del frammento di espressione composita.
- methodCallTranslator
- IMethodCallTranslator
Traduzione della chiamata al metodo.
- memberTranslator
- IMemberTranslator
Traduzione membro.
- relationalTypeMapper
- IRelationalTypeMapper
Mapper di tipo relazionale.
- queryModelVisitor
- RelationalQueryModelVisitor
Visitatore del modello di query.
- targetSelectExpression
- SelectExpression
Espressione di selezione di destinazione.
- topLevelPredicate
- Expression
Predicato di primo livello.
- bindParentQueries
- Boolean
true per associare query padre.
- inProjection
- Boolean
true se l'espressione da tradurre è una proiezione LINQ.