C# Class Remotion.Linq.SqlBackend.SqlPreparation.SqlPreparationFromExpressionVisitor

Analyzes the FromClauseBase.FromExpression of a FromClauseBase and returns a SqlTableBase that represents the data source of the FromClauseBase.
Inheritance: SqlPreparationExpressionVisitor, IUnresolvedSqlExpressionVisitor
显示文件 Open project: re-motion/Relinq-SqlBackend Class Usage Examples

Public Methods

Method Description
AnalyzeFromExpression ( Expression fromExpression, ISqlPreparationStage stage, UniqueIdentifierGenerator generator, IMethodCallTransformerProvider provider, ISqlPreparationContext context, SqlTable>.Func tableGenerator ) : FromExpressionInfo
VisitSqlSubStatementExpression ( SqlSubStatementExpression expression ) : Expression
VisitSqlTableReferenceExpression ( SqlTableReferenceExpression expression ) : Expression

Protected Methods

Method Description
SqlPreparationFromExpressionVisitor ( UniqueIdentifierGenerator generator, ISqlPreparationStage stage, IMethodCallTransformerProvider provider, ISqlPreparationContext context, SqlTable>.Func tableGenerator ) : System
VisitConstantExpression ( ConstantExpression expression ) : Expression
VisitMemberExpression ( MemberExpression expression ) : Expression
VisitQuerySourceReferenceExpression ( Remotion.Linq.Clauses.Expressions.QuerySourceReferenceExpression expression ) : Expression

Private Methods

Method Description
ISqlEntityRefMemberExpressionVisitor ( SqlEntityRefMemberExpression expression ) : Expression

Method Details

AnalyzeFromExpression() public static method

public static AnalyzeFromExpression ( Expression fromExpression, ISqlPreparationStage stage, UniqueIdentifierGenerator generator, IMethodCallTransformerProvider provider, ISqlPreparationContext context, SqlTable>.Func tableGenerator ) : FromExpressionInfo
fromExpression System.Linq.Expressions.Expression
stage ISqlPreparationStage
generator UniqueIdentifierGenerator
provider IMethodCallTransformerProvider
context ISqlPreparationContext
tableGenerator SqlTable>.Func
return FromExpressionInfo

SqlPreparationFromExpressionVisitor() protected method

protected SqlPreparationFromExpressionVisitor ( UniqueIdentifierGenerator generator, ISqlPreparationStage stage, IMethodCallTransformerProvider provider, ISqlPreparationContext context, SqlTable>.Func tableGenerator ) : System
generator UniqueIdentifierGenerator
stage ISqlPreparationStage
provider IMethodCallTransformerProvider
context ISqlPreparationContext
tableGenerator SqlTable>.Func
return System

VisitConstantExpression() protected method

protected VisitConstantExpression ( ConstantExpression expression ) : Expression
expression System.Linq.Expressions.ConstantExpression
return System.Linq.Expressions.Expression

VisitMemberExpression() protected method

protected VisitMemberExpression ( MemberExpression expression ) : Expression
expression System.Linq.Expressions.MemberExpression
return System.Linq.Expressions.Expression

VisitQuerySourceReferenceExpression() protected method

protected VisitQuerySourceReferenceExpression ( Remotion.Linq.Clauses.Expressions.QuerySourceReferenceExpression expression ) : Expression
expression Remotion.Linq.Clauses.Expressions.QuerySourceReferenceExpression
return System.Linq.Expressions.Expression

VisitSqlSubStatementExpression() public method

public VisitSqlSubStatementExpression ( SqlSubStatementExpression expression ) : Expression
expression Remotion.Linq.SqlBackend.SqlStatementModel.SqlSubStatementExpression
return System.Linq.Expressions.Expression

VisitSqlTableReferenceExpression() public method

public VisitSqlTableReferenceExpression ( SqlTableReferenceExpression expression ) : Expression
expression Remotion.Linq.SqlBackend.SqlStatementModel.Unresolved.SqlTableReferenceExpression
return System.Linq.Expressions.Expression