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

SqlContextSelectionAdjuster applies a SqlExpressionContext to a SqlStatement by modifying the SqlStatement's SqlStatement.SelectProjection and recalculating all dependent data accordingly.
Show file Open project: re-motion/Relinq-SqlBackend Class Usage Examples

Public Methods

Method Description
ApplyContext ( SqlStatement sqlStatement, SqlExpressionContext expressionContext, IMappingResolutionStage stage, IMappingResolutionContext mappingresolutionContext ) : SqlStatement
VisitSqlStatement ( SqlStatement sqlStatement, SqlExpressionContext expressionContext ) : SqlStatement

Private Methods

Method Description
SqlContextSelectionAdjuster ( IMappingResolutionStage stage, IMappingResolutionContext mappingresolutionContext ) : System

Method Details

ApplyContext() public static method

public static ApplyContext ( SqlStatement sqlStatement, SqlExpressionContext expressionContext, IMappingResolutionStage stage, IMappingResolutionContext mappingresolutionContext ) : SqlStatement
sqlStatement Remotion.Linq.SqlBackend.SqlStatementModel.SqlStatement
expressionContext SqlExpressionContext
stage IMappingResolutionStage
mappingresolutionContext IMappingResolutionContext
return Remotion.Linq.SqlBackend.SqlStatementModel.SqlStatement

VisitSqlStatement() public method

public VisitSqlStatement ( SqlStatement sqlStatement, SqlExpressionContext expressionContext ) : SqlStatement
sqlStatement Remotion.Linq.SqlBackend.SqlStatementModel.SqlStatement
expressionContext SqlExpressionContext
return Remotion.Linq.SqlBackend.SqlStatementModel.SqlStatement