Ejemplo n.º 1
0
 public void SetOrderBy(SoodaOrderBy orderBy)
 {
     OrderByExpressions.AddRange(orderBy.OrderByExpressions);
     foreach (SortOrder so in orderBy.SortOrders)
     {
         if (so == SortOrder.Ascending)
         {
             OrderByOrder.Add("asc");
         }
         else
         {
             OrderByOrder.Add("desc");
         }
     }
 }