コード例 #1
0
 /// <summary>
 /// 获取所有ProductsGen信息
 /// </summary>
 /// <returns>ProductsGen列表</returns>
 public IList <ProductsGen> GetAll()
 {
     try
     {
         return(baseDao.GetAll <ProductsGen>());
     }
     catch (Exception ex)
     {
         throw new DalException("调用ProductsGenDao时,访问GetAll时出错", ex);
     }
 }
コード例 #2
0
 /// <summary>
 /// 获取所有SysCustomerInfo信息
 /// </summary>
 /// <returns>SysCustomerInfo列表</returns>
 public IList <SysCustomerInfo> GetAll()
 {
     try
     {
         return(baseDao.GetAll <SysCustomerInfo>());
     }
     catch (Exception ex)
     {
         throw new DalException("调用SysCustomerInfoDao时,访问GetAll时出错", ex);
     }
 }
コード例 #3
0
 /// <summary>
 /// 获取所有CategoriesGen信息
 /// </summary>
 /// <returns>CategoriesGen列表</returns>
 public IList <CategoriesGen> GetAll()
 {
     try
     {
         return(baseDao.GetAll <CategoriesGen>());
     }
     catch (Exception ex)
     {
         throw new DalException("调用CategoriesGenDao时,访问GetAll时出错", ex);
     }
 }
コード例 #4
0
 /// <summary>
 /// 获取所有SysActionLog信息
 /// </summary>
 /// <returns>SysActionLog列表</returns>
 public IList <SysActionLog> GetAll()
 {
     try
     {
         return(baseDao.GetAll <SysActionLog>());
     }
     catch (Exception ex)
     {
         throw new DalException("调用SysActionLogDao时,访问GetAll时出错", ex);
     }
 }
コード例 #5
0
 public IList <SysChinaCity> GetAll()
 {
     try
     {
         return(baseDao.GetAll <SysChinaCity>());
     }
     catch (Exception ex)
     {
         throw new DalException("调用ActivityDirectRulesDao时,访问GetAll时出错", ex);
     }
 }