Esempio n. 1
0
 public void ApplyThenBy(OrderingExpression orderingExpression)
 {
     if (_orderings.FirstOrDefault(o => o.Expression.Equals(orderingExpression.Expression)) == null)
     {
         _orderings.Add(orderingExpression);
     }
 }
Esempio n. 2
0
 public void ApplyOrderBy(OrderingExpression orderingExpression)
 {
     _orderings.Clear();
     _orderings.Add(orderingExpression);
 }