Пример #1
0
 public virtual ISqlElement VisitOrderingElement(OrderByClause.OrderingElement orderingElement)
 {
     orderingElement.Expression = Visit(orderingElement.Expression);
     return(orderingElement);
 }
Пример #2
0
 public override ISqlElement VisitOrderingElement(OrderByClause.OrderingElement orderingElement)
 {
     Visit(orderingElement.Expression);
     builder.AppendFormat(" {0}", orderingElement.IsAsc ? "asc" : "desc");
     return(orderingElement);
 }