public IQuerySet <T> OrderByDescing(Expression <Func <T, object> > field) { if (field != null) { OrderbyExpressionList.Add(field, EOrderBy.Desc); } return(this); }
public IQuerySet <T> OrderBy <TProperty>(Expression <Func <TProperty, object> > field) { if (field != null) { OrderbyExpressionList.Add(field, EOrderBy.Asc); } return(this); }
/// <inheritdoc /> public virtual Order <T> OrderByDescing <TProperty>(Expression <Func <TProperty, object> > field) { if (field != null) { OrderbyExpressionList.Add(field, EOrderBy.Desc); } return(this); }
public Order <T> OrderBy(Expression <Func <T, object> > field) { if (field != null) { OrderbyExpressionList.Add(field, EOrderBy.Asc); } return(this); }
/// <inheritdoc /> public virtual Order <T> OrderBy <TProperty>(Expression <Func <T, TProperty> > field) { if (field != null) { OrderbyExpressionList.Add(EOrderBy.Asc, field); } return(this); }
/// <summary> /// 倒叙 /// </summary> /// <typeparam name="TProperty"></typeparam> /// <param name="field"></param> /// <returns></returns> public QuerySet <T> OrderByDescing <TProperty>(Expression <Func <T, TProperty> > field) { if (field != null) { OrderbyExpressionList.Add(EOrderBy.Desc, field); } return(this); }