Example #1
0
 public bool GetCustomGuerdonSetName(string CustomGuerdonSetName)
 {
     using (CustomGuerdonSetBLL bll = new CustomGuerdonSetBLL())
     {
         return bll.GetCustomGuerdonSetName(CustomGuerdonSetName);
     }
 }
Example #2
0
 public T_HR_CUSTOMGUERDONSET GetCustomGuerdonSetByID(string CustomGuerdonSetID)
 {
     using (CustomGuerdonSetBLL bll = new CustomGuerdonSetBLL())
     {
         return bll.GetCustomGuerdonSetByID(CustomGuerdonSetID);
     }
 }
Example #3
0
 public void CustomGuerdonSetUpdate(T_HR_CUSTOMGUERDONSET entity)
 {
     using (CustomGuerdonSetBLL bll = new CustomGuerdonSetBLL())
     {
         bll.CustomGuerdonSetUpdate(entity);
     }
 }
Example #4
0
 public bool CustomGuerdonSetDelete(string[] CustomGuerdonSets)
 {
     using (CustomGuerdonSetBLL bll = new CustomGuerdonSetBLL())
     {
         int rslt = bll.CustomGuerdonSetDelete(CustomGuerdonSets);
         return (rslt > 0);
     }
 }
Example #5
0
 public List<T_HR_CUSTOMGUERDONSET> GetCustomGuerdonSetPaging(int pageIndex, int pageSize, string sort, string filterString, string[] paras, ref int pageCount, string strCheckState, string userid)
 {
     using (CustomGuerdonSetBLL bll = new CustomGuerdonSetBLL())
     {
         IQueryable<T_HR_CUSTOMGUERDONSET> q = bll.GetCustomGuerdonSetPaging(pageIndex, pageSize, sort, filterString, paras, ref  pageCount, strCheckState, userid);
         return q.Count() > 0 ? q.ToList() : null;
     }
 }