Compartilhar via


SqlTranslatingExpressionVisitorFactory.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)

Origem:
SqlTranslatingExpressionVisitorFactory.cs
Origem:
SqlTranslatingExpressionVisitorFactory.cs

Cria um novo SqlTranslatingExpressionVisitor.

public virtual 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
override this.Create : Microsoft.EntityFrameworkCore.Query.RelationalQueryModelVisitor * Microsoft.EntityFrameworkCore.Query.Expressions.SelectExpression * System.Linq.Expressions.Expression * bool -> Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.SqlTranslatingExpressionVisitor
Public Overridable 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 estivermos traduzindo uma projeção.

Retornos

Um SqlTranslatingExpressionVisitor.

Implementações

Aplica-se a

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

Cria um novo SqlTranslatingExpressionVisitor.

public virtual 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
override this.Create : Microsoft.EntityFrameworkCore.Query.RelationalQueryModelVisitor * Microsoft.EntityFrameworkCore.Query.Expressions.SelectExpression * System.Linq.Expressions.Expression * bool * bool -> Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.SqlTranslatingExpressionVisitor
Public Overridable 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 estivermos traduzindo uma projeção.

Retornos

Um SqlTranslatingExpressionVisitor.

Implementações

Aplica-se a