Compartilhar via


ISqlTranslatingExpressionVisitorFactory.Create Método

Definição

Sobrecargas

Create(RelationalQueryModelVisitor, SelectExpression, Expression, Boolean)

Cria um novo SqlTranslatingExpressionVisitor.

Create(RelationalQueryModelVisitor, SelectExpression, Expression, Boolean, Boolean)

Cria um novo SqlTranslatingExpressionVisitor.

Create(RelationalQueryModelVisitor, SelectExpression, Expression, Boolean)

Cria um novo SqlTranslatingExpressionVisitor.

public Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.SqlTranslatingExpressionVisitor Create (Microsoft.EntityFrameworkCore.Query.RelationalQueryModelVisitor queryModelVisitor, Microsoft.EntityFrameworkCore.Query.Expressions.SelectExpression targetSelectExpression = default, System.Linq.Expressions.Expression topLevelPredicate = default, bool inProjection = false);
abstract member Create : Microsoft.EntityFrameworkCore.Query.RelationalQueryModelVisitor * Microsoft.EntityFrameworkCore.Query.Expressions.SelectExpression * System.Linq.Expressions.Expression * bool -> Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.SqlTranslatingExpressionVisitor
Public Function Create (queryModelVisitor As RelationalQueryModelVisitor, Optional targetSelectExpression As SelectExpression = Nothing, Optional topLevelPredicate As Expression = Nothing, Optional inProjection As Boolean = false) As SqlTranslatingExpressionVisitor

Parâmetros

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 estamos traduzindo uma projeção.

Retornos

Um SqlTranslatingExpressionVisitor.

Aplica-se a

Create(RelationalQueryModelVisitor, SelectExpression, Expression, Boolean, Boolean)

Cria um novo SqlTranslatingExpressionVisitor.

public Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.SqlTranslatingExpressionVisitor Create (Microsoft.EntityFrameworkCore.Query.RelationalQueryModelVisitor queryModelVisitor, Microsoft.EntityFrameworkCore.Query.Expressions.SelectExpression targetSelectExpression = default, System.Linq.Expressions.Expression topLevelPredicate = default, bool bindParentQueries = false, bool inProjection = false);
abstract member Create : Microsoft.EntityFrameworkCore.Query.RelationalQueryModelVisitor * Microsoft.EntityFrameworkCore.Query.Expressions.SelectExpression * System.Linq.Expressions.Expression * bool * bool -> Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.SqlTranslatingExpressionVisitor
Public Function Create (queryModelVisitor As RelationalQueryModelVisitor, Optional targetSelectExpression As SelectExpression = Nothing, Optional topLevelPredicate As Expression = Nothing, Optional bindParentQueries As Boolean = false, Optional inProjection As Boolean = false) As SqlTranslatingExpressionVisitor

Parâmetros

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 estamos traduzindo uma projeção.

Retornos

Um SqlTranslatingExpressionVisitor.

Aplica-se a