Example #1
0
        internal static bool CanLift(SqlSource source, HashSet <SqlAlias> aliasesForLifting, HashSet <SqlExpression> liftedExpressions)
        {
            SelectionLifter v = new SelectionLifter(false, aliasesForLifting, liftedExpressions);

            v.VisitSource(source);
            return(v.CanLiftAll);
        }
Example #2
0
        internal static List <List <SqlColumn> > Lift(SqlSource source, HashSet <SqlAlias> aliasesForLifting, HashSet <SqlExpression> liftedExpressions)
        {
            SelectionLifter v = new SelectionLifter(true, aliasesForLifting, liftedExpressions);

            v.VisitSource(source);
            return(v.Lifted);
        }