C# Class Remotion.Linq.SqlBackend.MappingResolution.SubStatementReferenceResolver

Creates a reference to the given expression stemming from a ResolvedSubStatementTableInfo. References can only be made to expressions with names. Expressions without names will be copied (but their child expressions resolved). For example, a NamedExpression is referenced via a SqlColumnExpression; but a NewExpression is referenced by an equivalent NewExpression (whose arguments reference the arguments of the original NewExpression).
Inheritance: System.Linq.Expressions.ExpressionTreeVisitor, IResolvedSqlExpressionVisitor, INamedExpressionVisitor, ISqlGroupingSelectExpressionVisitor
显示文件 Open project: re-motion/Relinq-SqlBackend Class Usage Examples

Public Methods

Method Description
ResolveSubStatementReferenceExpression ( Expression referencedExpression, ResolvedSubStatementTableInfo containingSubStatementTableInfo, SqlTableBase containingSqlTable, IMappingResolutionContext context ) : Expression
VisitNamedExpression ( NamedExpression expression ) : Expression
VisitSqlEntityConstantExpression ( SqlEntityConstantExpression expression ) : Expression
VisitSqlEntityExpression ( SqlEntityExpression expression ) : Expression
VisitSqlGroupingSelectExpression ( SqlGroupingSelectExpression expression ) : Expression

Protected Methods

Method Description
SubStatementReferenceResolver ( ResolvedSubStatementTableInfo tableInfo, SqlTableBase sqlTable, IMappingResolutionContext context ) : System
VisitNewExpression ( NewExpression expression ) : Expression

Private Methods

Method Description
IResolvedSqlExpressionVisitor ( SqlColumnExpression expression ) : Expression
ResolveChildExpression ( Expression childExpression ) : Expression

Method Details

ResolveSubStatementReferenceExpression() public static method

public static ResolveSubStatementReferenceExpression ( Expression referencedExpression, ResolvedSubStatementTableInfo containingSubStatementTableInfo, SqlTableBase containingSqlTable, IMappingResolutionContext context ) : Expression
referencedExpression System.Linq.Expressions.Expression
containingSubStatementTableInfo Remotion.Linq.SqlBackend.SqlStatementModel.Resolved.ResolvedSubStatementTableInfo
containingSqlTable Remotion.Linq.SqlBackend.SqlStatementModel.SqlTableBase
context IMappingResolutionContext
return System.Linq.Expressions.Expression

SubStatementReferenceResolver() protected method

protected SubStatementReferenceResolver ( ResolvedSubStatementTableInfo tableInfo, SqlTableBase sqlTable, IMappingResolutionContext context ) : System
tableInfo Remotion.Linq.SqlBackend.SqlStatementModel.Resolved.ResolvedSubStatementTableInfo
sqlTable Remotion.Linq.SqlBackend.SqlStatementModel.SqlTableBase
context IMappingResolutionContext
return System

VisitNamedExpression() public method

public VisitNamedExpression ( NamedExpression expression ) : Expression
expression Remotion.Linq.SqlBackend.SqlStatementModel.NamedExpression
return System.Linq.Expressions.Expression

VisitNewExpression() protected method

protected VisitNewExpression ( NewExpression expression ) : Expression
expression System.Linq.Expressions.NewExpression
return System.Linq.Expressions.Expression

VisitSqlEntityConstantExpression() public method

public VisitSqlEntityConstantExpression ( SqlEntityConstantExpression expression ) : Expression
expression Remotion.Linq.SqlBackend.SqlStatementModel.Resolved.SqlEntityConstantExpression
return System.Linq.Expressions.Expression

VisitSqlEntityExpression() public method

public VisitSqlEntityExpression ( SqlEntityExpression expression ) : Expression
expression Remotion.Linq.SqlBackend.SqlStatementModel.Resolved.SqlEntityExpression
return System.Linq.Expressions.Expression

VisitSqlGroupingSelectExpression() public method

public VisitSqlGroupingSelectExpression ( SqlGroupingSelectExpression expression ) : Expression
expression Remotion.Linq.SqlBackend.SqlStatementModel.SqlGroupingSelectExpression
return System.Linq.Expressions.Expression