public virtual IResolvedTableInfo ResolveTableInfo(ITableInfo tableInfo, IMappingResolutionContext context) { ArgumentUtility.CheckNotNull("tableInfo", tableInfo); ArgumentUtility.CheckNotNull("context", context); var resolvedTableInfo = ResolvingTableInfoVisitor.ResolveTableInfo(tableInfo, _resolver, _uniqueIdentifierGenerator, this, context); return((IResolvedTableInfo)ApplyContext(resolvedTableInfo, SqlExpressionContext.ValueRequired, context)); }
public static IResolvedTableInfo ResolveTableInfo (ITableInfo tableInfo, IMappingResolver resolver, UniqueIdentifierGenerator generator, IMappingResolutionStage stage, IMappingResolutionContext context) { ArgumentUtility.CheckNotNull ("tableInfo", tableInfo); ArgumentUtility.CheckNotNull ("resolver", resolver); ArgumentUtility.CheckNotNull ("stage", stage); ArgumentUtility.CheckNotNull ("context", context); var visitor = new ResolvingTableInfoVisitor (resolver, generator, stage, context); return (IResolvedTableInfo) tableInfo.Accept (visitor); }
public static IResolvedTableInfo ResolveTableInfo(ITableInfo tableInfo, IMappingResolver resolver, UniqueIdentifierGenerator generator, IMappingResolutionStage stage, IMappingResolutionContext context) { ArgumentUtility.CheckNotNull("tableInfo", tableInfo); ArgumentUtility.CheckNotNull("resolver", resolver); ArgumentUtility.CheckNotNull("stage", stage); ArgumentUtility.CheckNotNull("context", context); var visitor = new ResolvingTableInfoVisitor(resolver, generator, stage, context); return((IResolvedTableInfo)tableInfo.Accept(visitor)); }