Ejemplo n.º 1
0
        public override LinqExtender.Ast.Expression VisitOrderbyExpression(LinqExtender.Ast.OrderbyExpression expression)
        {
            WriteNewLine();
            Write(string.Format("order by {0}.{1} {2}",
                                expression.Member.DeclaringType.Name,
                                expression.Member.Name,
                                expression.Ascending ? "asc" : "desc"));
            WriteNewLine();

            return(expression);
        }
Ejemplo n.º 2
0
 public virtual Expression VisitOrderbyExpression(OrderbyExpression expression)
 {
     return expression;
 }
Ejemplo n.º 3
0
 public virtual Ast.Expression VisitOrderbyExpression(Ast.OrderbyExpression expression)
 {
     return(expression);
 }