Share via


ISqlTranslatingExpressionVisitorFactory.Create Method

Definition

Overloads

Create(RelationalQueryModelVisitor, SelectExpression, Expression, Boolean)

Creates a new SqlTranslatingExpressionVisitor.

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

Creates a new SqlTranslatingExpressionVisitor.

Create(RelationalQueryModelVisitor, SelectExpression, Expression, Boolean)

Creates a new 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

Parameters

queryModelVisitor
RelationalQueryModelVisitor

The query model visitor.

targetSelectExpression
SelectExpression

The target select expression.

topLevelPredicate
Expression

The top level predicate.

inProjection
Boolean

true if we are translating a projection.

Returns

A SqlTranslatingExpressionVisitor.

Applies to

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

Creates a new 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

Parameters

queryModelVisitor
RelationalQueryModelVisitor

The query model visitor.

targetSelectExpression
SelectExpression

The target select expression.

topLevelPredicate
Expression

The top level predicate.

bindParentQueries
Boolean

true to bind parent queries.

inProjection
Boolean

true if we are translating a projection.

Returns

A SqlTranslatingExpressionVisitor.

Applies to