예제 #1
0
 /// <summary>
 /// 根据条件检索集合中的数据
 /// </summary>
 /// <param name="doWhere"></param>
 /// <param name="doOrder"></param>
 /// <returns></returns>
 public List <T> GetListByCondition <Tkey>(Expression <Func <T, bool> > doWhere, Expression <Func <T, Tkey> > doOrder)
 {
     try
     {
         return(CurrentRepository.GetListByCondition <Tkey>(doWhere, doOrder));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }