Example #1
0
 private void Visit(OrderByExpression op)
 {
     op.Expression.Visit(this);
     if (!op.Ascending)
     {
         Writer.Write(" desc");
     }
 }
Example #2
0
 public virtual OrderByExpression Clone(OrderByExpression orderBy)
 {
     return(new OrderByExpression()
     {
         Ascending = orderBy.Ascending,
         Expression = CloneAndReturn(orderBy.Expression)
     });
 }