예제 #1
0
        public static Expression RoundTripQueryable(Expression query)
        {
            var c = new QueryableToQueryTreeConverter();
            var t = c.Convert(query);
            var r = t.Reduce();

            return(r);
        }
예제 #2
0
        public static Expression RoundTripAndTouchQueryable(Expression query)
        {
            var c = new QueryableToQueryTreeConverter();
            var t = c.Convert(query);
            var i = new TouchVisitor().Visit(t);
            var r = i.Reduce();

            return(r);
        }