Exemplo n.º 1
0
 public T_HR_EMPLOYEEINSURANCE GetEmployeeInsuranceByID(string employInsuranceID)
 {
     using (EmployeeInsuranceBLL bll = new EmployeeInsuranceBLL())
     {
         return bll.GetEmployeeInsuranceByID(employInsuranceID);
     }
 }
Exemplo n.º 2
0
 public void EmployeeInsuranceUpdate(T_HR_EMPLOYEEINSURANCE entity, ref string strMsg)
 {
     using (EmployeeInsuranceBLL bll = new EmployeeInsuranceBLL())
     {
         bll.EmployeeInsuranceUpdate(entity, ref  strMsg);
     }
 }
Exemplo n.º 3
0
 public bool EmployeeInsuranceDelete(string[] employInsuranceIDs)
 {
     using (EmployeeInsuranceBLL bll = new EmployeeInsuranceBLL())
     {
         int rslt = bll.EmployeeInsuranceDelete(employInsuranceIDs);
         return (rslt > 0);
     }
 }
Exemplo n.º 4
0
 public List<T_HR_EMPLOYEEINSURANCE> EmployeeInsurancePaging(int pageIndex, int pageSize, string sort, string filterString, object[] paras, ref int pageCount, string strCheckState, string userID)
 {
     using (EmployeeInsuranceBLL bll = new EmployeeInsuranceBLL())
     {
         IQueryable<T_HR_EMPLOYEEINSURANCE> q = bll.EmployeeInsurancePaging(pageIndex, pageSize, sort, filterString, paras, ref pageCount, strCheckState, userID);
         if (q != null)
         {
             return q.Count() > 0 ? q.ToList() : null;
         }
         else
         {
             return null;
         }
     }
     //  return q.Count() > 0 ? q.ToList() : null;
 }