public static int InsertCostProductionInfo(ProcutionCostModel model, ArrayList Detailsmodels)
 {
     if (model == null || Detailsmodels == null)
     {
         return(0);
     }
     try
     {
         return(CostProductionDBHelper.InsertCostProductionInfo(model, Detailsmodels));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
 public static DataTable ExportToExcel(string where, string orderby)
 {
     return(CostProductionDBHelper.ExportToExcel(where, orderby));
 }
 public static DataTable LoadList(string where, string orderby, int pageIndex, int pageSize, out int totalCnt)
 {
     return(CostProductionDBHelper.LoadList(where, orderby, pageIndex, pageSize, out totalCnt));
 }
 public static DataSet GetCostProductionInfo(int CPID)
 {
     return(CostProductionDBHelper.GetCostProductionInfo(CPID));
 }
 public static DataSet GetCostProductionInfoByProductID(int PID)
 {
     return(CostProductionDBHelper.GetCostProductionInfoByProductID(PID));
 }
 public static bool DelCostProductionInfo(int ID)
 {
     return(CostProductionDBHelper.DelCostProductionInfo(ID));
 }