示例#1
0
            public override Expression Translate(Expression expression)
            {
                expression = DbOrderByRewriter.Rewrite(this.Language, expression);
                expression = base.Translate(expression);
                expression = DbUnusedColumnRemover.Remove(expression);

                return(expression);
            }
示例#2
0
            public override Expression Translate(Expression expression)
            {
                expression = DbOrderByRewriter.Rewrite(this.Language, expression);
                expression = base.Translate(expression);
                expression = DbSkipToRowNumberRewriter.Rewrite(this.Language, expression);
                expression = DbOrderByRewriter.Rewrite(this.Language, expression);

                return(expression);
            }
示例#3
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);
            }