/// <summary>
 ///  批量插入SysCustomerInfo
 /// </summary>
 /// <param name="sysCustomerInfo">SysCustomerInfo实体对象列表</param>
 /// <returns>状态代码</returns>
 public bool BulkInsertSysCustomerInfo(IList <SysCustomerInfo> sysCustomerInfoList)
 {
     try
     {
         return(baseDao.BulkInsert <SysCustomerInfo>(sysCustomerInfoList));
     }
     catch (Exception ex)
     {
         throw new DalException("调用SysCustomerInfoDao时,访问BulkInsert时出错", ex);
     }
 }
 /// <summary>
 ///  批量插入ProductsGen
 /// </summary>
 /// <param name="productsGen">ProductsGen实体对象列表</param>
 /// <returns>状态代码</returns>
 public bool BulkInsertProductsGen(IList <ProductsGen> productsGenList)
 {
     try
     {
         return(baseDao.BulkInsert <ProductsGen>(productsGenList));
     }
     catch (Exception ex)
     {
         throw new DalException("调用ProductsGenDao时,访问BulkInsert时出错", ex);
     }
 }
 /// <summary>
 ///  批量插入CategoriesGen
 /// </summary>
 /// <param name="categoriesGen">CategoriesGen实体对象列表</param>
 /// <returns>状态代码</returns>
 public bool BulkInsertCategoriesGen(IList <CategoriesGen> categoriesGenList)
 {
     try
     {
         return(baseDao.BulkInsert <CategoriesGen>(categoriesGenList));
     }
     catch (Exception ex)
     {
         throw new DalException("调用CategoriesGenDao时,访问BulkInsert时出错", ex);
     }
 }
Пример #4
0
 public bool BulkInsert(IList <SysActionLog> list)
 {
     try
     {
         return(baseDao.BulkInsert <SysActionLog>(list));
     }
     catch (Exception ex)
     {
         throw new DalException("调用ActivityDirectRulesDao时,访问BulkInsert时出错", ex);
     }
 }
Пример #5
0
 /// <summary>
 ///  批量插入AgentGen
 /// </summary>
 /// <param name="agentGen">AgentGen实体对象列表</param>
 /// <returns>状态代码</returns>
 public bool BulkInsertAgentGen(IList <AgentGen> agentGenList)
 {
     try
     {
         return(baseDao.BulkInsert <AgentGen>(agentGenList));
     }
     catch (Exception ex)
     {
         throw new DalException("调用AgentGenDao时,访问BulkInsert时出错", ex);
     }
 }