Exemplo n.º 1
0
        public IJoinInfo VisitResolvedJoinInfo(ResolvedJoinInfo joinInfo)
        {
            ArgumentUtility.CheckNotNull("joinInfo", joinInfo);
            var newForeignTableInfo = _stage.ResolveTableInfo(joinInfo.ForeignTableInfo, _context);
            var newCondition        = _stage.ResolveJoinCondition(joinInfo.JoinCondition, _context);

            if (newForeignTableInfo != joinInfo.ForeignTableInfo || newCondition != joinInfo.JoinCondition)
            {
                return(new ResolvedJoinInfo(newForeignTableInfo, newCondition));
            }
            return(joinInfo);
        }