public virtual OrderByCriteria Update(OrderByCriteria criterium, Expression expression, bool ascending) { if (criterium.Expression != expression || criterium.Ascending != ascending) return new OrderByCriteria(expression, ascending); return criterium; }
public OrderByClause(OrderByCriteria[] criterias) { this.criterias = criterias; }