Ejemplo n.º 1
0
 public override Expression Translate(Expression expression)
 {
     // fix up any order-by's
     expression = OrderByRewriter.Rewrite(expression);
     expression = base.Translate(expression);
     expression = CrossJoinIsolator.Isolate(expression);
     expression = ThreeTopPagerRewriter.Rewrite(expression);
     expression = OrderByRewriter.Rewrite(expression);
     expression = UnusedColumnRemover.Remove(expression);
     expression = RedundantColumnRemover.Remove(expression);
     return(expression);
 }
Ejemplo n.º 2
0
            public override Expression Translate(Expression expression)
            {
                // fix up any order-by's
                expression = OrderByRewriter.Rewrite(this.Language, expression);

                expression = base.Translate(expression);

                expression = CrossJoinIsolator.Isolate(expression);
                expression = SkipToNestedOrderByRewriter.Rewrite(this.Language, expression);
                expression = OrderByRewriter.Rewrite(this.Language, expression);
                expression = UnusedColumnRemover.Remove(expression);
                expression = RedundantSubqueryRemover.Remove(expression);

                return(expression);
            }