Exemplo n.º 1
0
 public virtual ISqlElement VisitOrderingElement(OrderByClause.OrderingElement orderingElement)
 {
     orderingElement.Expression = Visit(orderingElement.Expression);
     return(orderingElement);
 }
Exemplo n.º 2
0
 public override ISqlElement VisitOrderingElement(OrderByClause.OrderingElement orderingElement)
 {
     Visit(orderingElement.Expression);
     builder.AppendFormat(" {0}", orderingElement.IsAsc ? "asc" : "desc");
     return(orderingElement);
 }