public T_HR_IMPORTSETMASTER GetImportSetMasterByID(string masterID) { using (ImportSetMasterBLL bll = new ImportSetMasterBLL()) { return bll.GetImportSetMasterByID(masterID); } }
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); } }
public bool ImportSetMasterDelete(string[] ids) { using (ImportSetMasterBLL bll = new ImportSetMasterBLL()) { int rslt = bll.ImportSetMasterDelete(ids); return (rslt > 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; } }