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

NamedExpressionCombiner analyzes the inner expression of a NamedExpression and returns a combined expression if possible. A combined expression is an expression equivalent to the inner expression but with the name included. The process of combining named expressions must be performed during the mapping resolution stage because the name of an entity or value in a sub-statement must be defined before an outer statement's reference to that entity or value is resolved by SubStatementReferenceResolver.
Inheritance: INamedExpressionCombiner
Mostra file Open project: re-motion/Relinq-SqlBackend Class Usage Examples

Public Methods

Method Description
NamedExpressionCombiner ( IMappingResolutionContext mappingResolutionContext ) : System
ProcessNames ( NamedExpression outerExpression ) : Expression

Private Methods

Method Description
CombineNames ( string name1, string name2 ) : string

Method Details

NamedExpressionCombiner() public method

public NamedExpressionCombiner ( IMappingResolutionContext mappingResolutionContext ) : System
mappingResolutionContext IMappingResolutionContext
return System

ProcessNames() public method

public ProcessNames ( NamedExpression outerExpression ) : Expression
outerExpression Remotion.Linq.SqlBackend.SqlStatementModel.NamedExpression
return System.Linq.Expressions.Expression