Ejemplo n.º 1
0
 public T_HR_DEPARTMENTDICTIONARY GetDepartmentDictionaryById(string strid)
 {
     using (DepartmentDictionaryBLL bll = new DepartmentDictionaryBLL())
     {
         return(bll.GetDepartmentDictionaryById(strid));
     }
 }
Ejemplo n.º 2
0
 public void DepartmentDictionaryUpdate(T_HR_DEPARTMENTDICTIONARY obj, ref string strMsg)
 {
     using (DepartmentDictionaryBLL bll = new DepartmentDictionaryBLL())
     {
         bll.DepartmentDictionaryUpdate(obj, ref strMsg);
     }
 }
Ejemplo n.º 3
0
 public List<T_HR_DEPARTMENTDICTIONARY> GetDepartmentDictionaryAll()
 {
     using (DepartmentDictionaryBLL bll = new DepartmentDictionaryBLL())
     {
         IQueryable<T_HR_DEPARTMENTDICTIONARY> q = bll.GetDepartmentDictionaryAll();
         return q.Count() > 0 ? q.ToList() : null;
     }
 }
Ejemplo n.º 4
0
 public List <T_HR_DEPARTMENTDICTIONARY> GetDepartmentDictionaryAll()
 {
     using (DepartmentDictionaryBLL bll = new DepartmentDictionaryBLL())
     {
         IQueryable <T_HR_DEPARTMENTDICTIONARY> q = bll.GetDepartmentDictionaryAll();
         return(q.Count() > 0 ? q.ToList() : null);
     }
 }
Ejemplo n.º 5
0
 public bool DepartmentDictionaryDelete(string[] strid, ref string strMsg)
 {
     using (DepartmentDictionaryBLL bll = new DepartmentDictionaryBLL())
     {
         int rslt = bll.DepartmentDictionaryDelete(strid, ref strMsg);
         return(rslt > 0);
     }
 }
Ejemplo n.º 6
0
 public List<T_HR_DEPARTMENTDICTIONARY> DepartmentDictionaryPaging(int pageIndex, int pageSize, string sort, string filterString, IList<object> paras, ref int pageCount, string userID, string Checkstate)
 {
     using (DepartmentDictionaryBLL bll = new DepartmentDictionaryBLL())
     {
         IQueryable<T_HR_DEPARTMENTDICTIONARY> q = bll.DepartmentDictionaryPaging(pageIndex, pageSize, sort, filterString, paras, ref pageCount, userID, Checkstate);
         if (q != null)
         {
             return q.Count() > 0 ? q.ToList() : null;
         }
         else
         {
             return null;
         }
     }
 }
Ejemplo n.º 7
0
 public List <T_HR_DEPARTMENTDICTIONARY> DepartmentDictionaryPaging(int pageIndex, int pageSize, string sort, string filterString, IList <object> paras, ref int pageCount, string userID, string Checkstate)
 {
     using (DepartmentDictionaryBLL bll = new DepartmentDictionaryBLL())
     {
         IQueryable <T_HR_DEPARTMENTDICTIONARY> q = bll.DepartmentDictionaryPaging(pageIndex, pageSize, sort, filterString, paras, ref pageCount, userID, Checkstate);
         if (q != null)
         {
             return(q.Count() > 0 ? q.ToList() : null);
         }
         else
         {
             return(null);
         }
     }
 }
Ejemplo n.º 8
0
 public T_HR_DEPARTMENTDICTIONARY GetDepartmentDictionaryById(string strid)
 {
     using (DepartmentDictionaryBLL bll = new DepartmentDictionaryBLL())
     {
         return bll.GetDepartmentDictionaryById(strid);
     }
 }
Ejemplo n.º 9
0
 public bool DepartmentDictionaryDelete(string[] strid, ref string strMsg)
 {
     using (DepartmentDictionaryBLL bll = new DepartmentDictionaryBLL())
     {
         int rslt = bll.DepartmentDictionaryDelete(strid, ref strMsg);
         return (rslt > 0);
     }
 }
Ejemplo n.º 10
0
 public void DepartmentDictionaryUpdate(T_HR_DEPARTMENTDICTIONARY obj, ref string strMsg)
 {
     using (DepartmentDictionaryBLL bll = new DepartmentDictionaryBLL())
     {
         bll.DepartmentDictionaryUpdate(obj, ref strMsg);
     }
 }