Sdílet prostřednictvím


SqlTranslatingExpressionVisitorFactory.Create Metoda

Definice

Přetížení

Create(RelationalQueryModelVisitor, SelectExpression, Expression, Boolean)

Vytvoří nový SqlTranslatingExpressionVisitor.

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

Vytvoří nový SqlTranslatingExpressionVisitor.

Create(RelationalQueryModelVisitor, SelectExpression, Expression, Boolean)

Zdroj:
SqlTranslatingExpressionVisitorFactory.cs
Zdroj:
SqlTranslatingExpressionVisitorFactory.cs

Vytvoří nový 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

Parametry

queryModelVisitor
RelationalQueryModelVisitor

Návštěvník modelu dotazu.

targetSelectExpression
SelectExpression

Výraz target select.

topLevelPredicate
Expression

Predikát nejvyšší úrovně.

inProjection
Boolean

pokud překládáme projekci.

Návraty

A SqlTranslatingExpressionVisitor.

Implementuje

Platí pro

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

Vytvoří nový 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

Parametry

queryModelVisitor
RelationalQueryModelVisitor

Návštěvník modelu dotazu.

targetSelectExpression
SelectExpression

Výraz target select.

topLevelPredicate
Expression

Predikát nejvyšší úrovně.

bindParentQueries
Boolean

true k vytvoření vazby nadřazených dotazů.

inProjection
Boolean

pokud překládáme projekci.

Návraty

A SqlTranslatingExpressionVisitor.

Implementuje

Platí pro