SqlTranslatingExpressionVisitorFactory SqlTranslatingExpressionVisitorFactory Class

Definition

A factory for creating instances of SqlTranslatingExpressionVisitor.

public class SqlTranslatingExpressionVisitorFactory : ISqlTranslatingExpressionVisitorFactory
Public Class SqlTranslatingExpressionVisitorFactory
    Implements ISqlTranslatingExpressionVisitorFactory
Inheritance
System.ObjectSystem.Object
SqlTranslatingExpressionVisitorFactorySqlTranslatingExpressionVisitorFactory
Implements

Constructors

SqlTranslatingExpressionVisitorFactory(IRelationalAnnotationProvider, IExpressionFragmentTranslator, IMethodCallTranslator, IMemberTranslator, IRelationalTypeMapper) SqlTranslatingExpressionVisitorFactory(IRelationalAnnotationProvider, IExpressionFragmentTranslator, IMethodCallTranslator, IMemberTranslator, IRelationalTypeMapper)

Creates a new instance of SqlTranslatingExpressionVisitorFactory.

public SqlTranslatingExpressionVisitorFactory(IRelationalAnnotationProvider relationalAnnotationProvider, IExpressionFragmentTranslator compositeExpressionFragmentTranslator, IMethodCallTranslator methodCallTranslator, IMemberTranslator memberTranslator, IRelationalTypeMapper relationalTypeMapper)
Public Sub New(relationalAnnotationProvider As IRelationalAnnotationProvider, compositeExpressionFragmentTranslator As IExpressionFragmentTranslator, methodCallTranslator As IMethodCallTranslator, memberTranslator As IMemberTranslator, relationalTypeMapper As IRelationalTypeMapper)
Parameters
relationalAnnotationProvider
IRelationalAnnotationProvider IRelationalAnnotationProvider

The relational annotation provider.

compositeExpressionFragmentTranslator
IExpressionFragmentTranslator IExpressionFragmentTranslator

The composite expression fragment translator.

methodCallTranslator
IMethodCallTranslator IMethodCallTranslator

The method call translator.

memberTranslator
IMemberTranslator IMemberTranslator

The member translator.

relationalTypeMapper
IRelationalTypeMapper IRelationalTypeMapper

The relational type mapper.

Methods

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

Creates a new SqlTranslatingExpressionVisitor.

public virtual SqlTranslatingExpressionVisitor Create(RelationalQueryModelVisitor queryModelVisitor, SelectExpression targetSelectExpression = null, Expression topLevelPredicate = null, bool bindParentQueries = false, bool inProjection = false)
Public Overridable Function Create(queryModelVisitor As RelationalQueryModelVisitor, targetSelectExpression As SelectExpression = Nothing, topLevelPredicate As Expression = Nothing, bindParentQueries As Boolean = False, inProjection As Boolean = False) As SqlTranslatingExpressionVisitor
Parameters
queryModelVisitor
RelationalQueryModelVisitor RelationalQueryModelVisitor

The query model visitor.

targetSelectExpression
SelectExpression SelectExpression

The target select expression.

topLevelPredicate
System.Linq.Expressions.Expression System.Linq.Expressions.Expression

The top level predicate.

bindParentQueries
System.Boolean System.Boolean

true to bind parent queries.

inProjection
System.Boolean System.Boolean

true if we are translating a projection.

Returns

Equals(Object) Equals(Object)

Inherited from System.Object

Equals(Object, Object) Equals(Object, Object)

Inherited from System.Object

GetHashCode() GetHashCode()

Inherited from System.Object

GetType() GetType()

Inherited from System.Object

MemberwiseClone() MemberwiseClone()

Inherited from System.Object

ReferenceEquals(Object, Object) ReferenceEquals(Object, Object)

Inherited from System.Object

ToString() ToString()

Inherited from System.Object