Ejemplo n.º 1
0
 public IJoinQuery <T> OrderByDescing <TProperty>(Expression <Func <T, TProperty> > field)
 {
     if (field != null)
     {
         OrderbyList.Add(new OrderCriteria {
             OrderBy = EOrderBy.Desc, Field = field
         });
     }
     return(this);
 }
Ejemplo n.º 2
0
 public IJoinQuery<T> OrderBy<TProperty>(Expression<Func<T, TProperty>> field)
 {
     if (field != null)
         OrderbyList.Add(new OrderCriteria { OrderBy = EOrderBy.Asc, Field = field });
     return this;
 }