public virtual SqlStatement ApplySelectionContext(SqlStatement sqlStatement, SqlExpressionContext expressionContext, IMappingResolutionContext mappingResolutionContext) { ArgumentUtility.CheckNotNull("sqlStatement", sqlStatement); ArgumentUtility.CheckNotNull("mappingResolutionContext", mappingResolutionContext); return(SqlContextSelectionAdjuster.ApplyContext(sqlStatement, expressionContext, this, mappingResolutionContext)); }
public static SqlStatement ApplyContext (SqlStatement sqlStatement, SqlExpressionContext expressionContext, IMappingResolutionStage stage, IMappingResolutionContext mappingresolutionContext) { ArgumentUtility.CheckNotNull ("sqlStatement", sqlStatement); ArgumentUtility.CheckNotNull ("stage", stage); ArgumentUtility.CheckNotNull ("mappingresolutionContext", mappingresolutionContext); var visitor = new SqlContextSelectionAdjuster (stage, mappingresolutionContext); return visitor.VisitSqlStatement (sqlStatement, expressionContext); }
public static SqlStatement ApplyContext(SqlStatement sqlStatement, SqlExpressionContext expressionContext, IMappingResolutionStage stage, IMappingResolutionContext mappingresolutionContext) { ArgumentUtility.CheckNotNull("sqlStatement", sqlStatement); ArgumentUtility.CheckNotNull("stage", stage); ArgumentUtility.CheckNotNull("mappingresolutionContext", mappingresolutionContext); var visitor = new SqlContextSelectionAdjuster(stage, mappingresolutionContext); return(visitor.VisitSqlStatement(sqlStatement, expressionContext)); }