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