Exemplo n.º 1
0
            public override Expression Translate(Expression expression)
            {
                expression = DbOrderByRewriter.Rewrite(this.Language, expression);
                expression = base.Translate(expression);
                expression = DbUnusedColumnRemover.Remove(expression);

                return(expression);
            }
Exemplo n.º 2
0
            public override Expression Translate(Expression expression)
            {
                expression = DbOrderByRewriter.Rewrite(this.Language, expression);
                expression = base.Translate(expression);
                expression = DbCrossJoinIsolator.Isolate(expression);
                expression = DbSkipToNestedOrderByRewriter.Rewrite(this.Language, expression);
                expression = DbOrderByRewriter.Rewrite(this.Language, expression);
                expression = DbUnusedColumnRemover.Remove(expression);
                expression = DbRedundantSubqueryRemover.Remove(expression);

                return(expression);
            }