Move OrderBy expressions to the outer most select
Inheritance: Shaolinq.Persistence.Linq.Expressions.SqlExpressionVisitor
Example #1
0
		public static Expression Rewrite(Expression expression)
		{
			var orderByRewriter = new SqlOrderByRewriter();

			return orderByRewriter.Visit(expression);
		}
Example #2
0
        public static Expression Rewrite(Expression expression)
        {
            var orderByRewriter = new SqlOrderByRewriter();

            return(orderByRewriter.Visit(expression));
        }