Example #1
0
 public T_HR_IMPORTSETMASTER GetImportSetMasterByID(string masterID)
 {
     using (ImportSetMasterBLL bll = new ImportSetMasterBLL())
     {
         return bll.GetImportSetMasterByID(masterID);
     }
 }
Example #2
0
 public void ImportSetMasterUpdate(T_HR_IMPORTSETMASTER entity, List<T_HR_IMPORTSETDETAIL> entList, ref string strMsg)
 {
     using (ImportSetMasterBLL bll = new ImportSetMasterBLL())
     {
         bll.ImportSetMasterUpdate(entity, entList, ref strMsg);
     }
 }
Example #3
0
 public bool ImportSetMasterDelete(string[] ids)
 {
     using (ImportSetMasterBLL bll = new ImportSetMasterBLL())
     {
         int rslt = bll.ImportSetMasterDelete(ids);
         return (rslt > 0);
     }
 }
Example #4
0
 public List<T_HR_IMPORTSETMASTER> ImportSetMasterPaging(int pageIndex, int pageSize, string sort, string filterString, object[] paras, ref int pageCount, string userID)
 {
     using (ImportSetMasterBLL bll = new ImportSetMasterBLL())
     {
         IQueryable<T_HR_IMPORTSETMASTER> q = bll.ImportSetMasterPaging(pageIndex, pageSize, sort, filterString, paras, ref pageCount, userID);
         return q.Count() > 0 ? q.ToList() : null;
     }
 }