Exemple #1
0
 /// <summary>
 /// 查询数据列表并排序
 /// </summary>
 /// <param name="whereLandba">查询条件</param>
 /// <param name="orderLandba">排序条件</param>
 /// <param name="isAsc">是否升序</param>
 /// <returns>数据列表</returns>
 public IQueryable <T> GetListOrderBy <TKey>(Expression <Func <T, bool> > whereLandba, Expression <Func <T, TKey> > orderLandba, bool isAsc = true)
 {
     return(dal.GetListOrderBy(whereLandba, orderLandba, isAsc));
 }