Exemple #1
0
 public T_HR_EMPLOYEEEVECTIONRECORD GetEmployeeEvectionRecordByID(string strID)
 {
     using (EmployeeEvectionRecordBLL bll = new EmployeeEvectionRecordBLL())
     {
         return bll.GetEmployeeEvectionRecordByID(strID);
     }
 }
Exemple #2
0
 public bool EmployeeEvectionRecordDelete(string[] evectionRecordIDs)
 {
     using (EmployeeEvectionRecordBLL bll = new EmployeeEvectionRecordBLL())
     {
         int rslt = bll.EmployeeEvectionRecordDelete(evectionRecordIDs);
         return (rslt > 0);
     }
 }
Exemple #3
0
 public void AddEmployeeEvectionRdList(List<T_HR_EMPLOYEEEVECTIONRECORD> entTempList)
 {
     using (EmployeeEvectionRecordBLL bll = new EmployeeEvectionRecordBLL())
     {
         bll.AddEvectionRdList(entTempList);
     }
 }
Exemple #4
0
 public void EmployeeEvectionRecordUpdate(T_HR_EMPLOYEEEVECTIONRECORD entity)
 {
     using (EmployeeEvectionRecordBLL bll = new EmployeeEvectionRecordBLL())
     {
         bll.EmployeeEvectionRecordUpdate(entity);
     }
 }
Exemple #5
0
        public List<T_HR_EMPLOYEEEVECTIONRECORD> EmployeeEvectionRecordPaging(string strOwnerID, string strEmployeeID, string strDateFrom,
            string strDateTo, string strSortKey, int pageIndex, int pageSize, ref int pageCount)
        {
            using (EmployeeEvectionRecordBLL bll = new EmployeeEvectionRecordBLL())
            {
                var ents = bll.EmployeeEvectionRecordPaging(strOwnerID, strEmployeeID, strDateFrom, strDateTo, strSortKey, pageIndex, pageSize, ref pageCount);

                if (ents == null)
                {
                    return null;
                }

                return ents.ToList();
            }
        }