public virtual ResolvedJoinInfo ResolveJoinInfo(IJoinInfo joinInfo, IMappingResolutionContext context) { ArgumentUtility.CheckNotNull("joinInfo", joinInfo); ArgumentUtility.CheckNotNull("context", context); var resolvedJoinInfo = ResolvingJoinInfoVisitor.ResolveJoinInfo(joinInfo, _resolver, _uniqueIdentifierGenerator, this, context); return((ResolvedJoinInfo)ApplyContext(resolvedJoinInfo, SqlExpressionContext.ValueRequired, context)); }
public static ResolvedJoinInfo ResolveJoinInfo ( IJoinInfo joinInfo, IMappingResolver resolver, UniqueIdentifierGenerator generator, IMappingResolutionStage stage, IMappingResolutionContext context) { ArgumentUtility.CheckNotNull ("joinInfo", joinInfo); ArgumentUtility.CheckNotNull ("resolver", resolver); ArgumentUtility.CheckNotNull ("generator", generator); ArgumentUtility.CheckNotNull ("stage", stage); ArgumentUtility.CheckNotNull ("context", context); var visitor = new ResolvingJoinInfoVisitor (resolver, generator, stage, context); return (ResolvedJoinInfo) joinInfo.Accept (visitor); }
public static ResolvedJoinInfo ResolveJoinInfo( IJoinInfo joinInfo, IMappingResolver resolver, UniqueIdentifierGenerator generator, IMappingResolutionStage stage, IMappingResolutionContext context) { ArgumentUtility.CheckNotNull("joinInfo", joinInfo); ArgumentUtility.CheckNotNull("resolver", resolver); ArgumentUtility.CheckNotNull("generator", generator); ArgumentUtility.CheckNotNull("stage", stage); ArgumentUtility.CheckNotNull("context", context); var visitor = new ResolvingJoinInfoVisitor(resolver, generator, stage, context); return((ResolvedJoinInfo)joinInfo.Accept(visitor)); }