public IFluentQueryBuilder OrderBy(string fieldName, bool isAscending)
        {
            OrderingMetadata ordering = new OrderingMetadata(fieldName, isAscending);
            metadata.AddOrdering(ordering);

            return this;
        }
Пример #2
0
 public void AddOrdering(OrderingMetadata ordering)
 {
     orderings.Add(ordering);
 }