public virtual ITableInfo ApplyContext(ITableInfo tableInfo, SqlExpressionContext expressionContext, IMappingResolutionContext mappingResolutionContext) { ArgumentUtility.CheckNotNull("tableInfo", tableInfo); ArgumentUtility.CheckNotNull("mappingResolutionContext", mappingResolutionContext); return(SqlContextTableInfoVisitor.ApplyContext(tableInfo, expressionContext, this, mappingResolutionContext)); }
public static ITableInfo ApplyContext (ITableInfo tableInfo, SqlExpressionContext expressionContext, IMappingResolutionStage stage, IMappingResolutionContext mappingResolutionContext) { ArgumentUtility.CheckNotNull ("tableInfo", tableInfo); ArgumentUtility.CheckNotNull ("stage", stage); ArgumentUtility.CheckNotNull ("mappingResolutionContext", mappingResolutionContext); var visitor = new SqlContextTableInfoVisitor (stage, expressionContext, mappingResolutionContext); return tableInfo.Accept (visitor); }
public static ITableInfo ApplyContext(ITableInfo tableInfo, SqlExpressionContext expressionContext, IMappingResolutionStage stage, IMappingResolutionContext mappingResolutionContext) { ArgumentUtility.CheckNotNull("tableInfo", tableInfo); ArgumentUtility.CheckNotNull("stage", stage); ArgumentUtility.CheckNotNull("mappingResolutionContext", mappingResolutionContext); var visitor = new SqlContextTableInfoVisitor(stage, expressionContext, mappingResolutionContext); return(tableInfo.Accept(visitor)); }