예제 #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;

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