Ejemplo n.º 1
0
        public void addOrderby(string field, bool asc)
        {
            if (orderbyField == null)
            {
                orderbyField = new List <EntityOrderby>();
            }
            EntityOrderby orderby = new EntityOrderby();

            orderby.orderbyField = field;
            orderby.asc          = asc;
            orderbyField.Add(orderby);
        }
 public void addOrderby(string field, bool asc)
 {
     if (orderbyField == null)
     {
         orderbyField = new List<EntityOrderby>();
     }
     EntityOrderby orderby = new EntityOrderby();
     orderby.orderbyField = field;
     orderby.asc = asc;
     orderbyField.Add(orderby);
 }