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)); }