Exemple #1
0
        public virtual OrderByCriteria Update(OrderByCriteria criterium, Expression expression, bool ascending)
        {
            if (criterium.Expression != expression || criterium.Ascending != ascending)
                return new OrderByCriteria(expression, ascending);
            return criterium;

        }
Exemple #2
0
 public OrderByClause(OrderByCriteria[] criterias)
 {
     this.criterias = criterias;
 }