public static Expression RoundTripQueryable(Expression query) { var c = new QueryableToQueryTreeConverter(); var t = c.Convert(query); var r = t.Reduce(); return(r); }
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); }