示例#1
0
 public ICriteria AddOrder(Order order)
 {
     _orders.Add(order);
     return this;
 }
示例#2
0
 public String ToSqlString(Order order)
 {
     return StringHelper.CreateBuilder()
         .Append(order.Expression.Render(this))
         .Append((order.Ascending ? " ASC" : " DESC"))
         .ToString();
 }