Пример #1
0
 public int GetCount(string filter)
 {
     using (PersistentManager pm = new PersistentManager())
     {
        SysGroupDao groupDao = new SysGroupDao();
         return groupDao.FindCount(filter);
     }
 }
Пример #2
0
 public int GetGroupMemberCount(int groupID)
 {
     using (PersistentManager pm = new PersistentManager())
     {
         SysGroupDao groupDao = new SysGroupDao();
         return groupDao.FindGroupMemberCount(groupID);
     }
 }
Пример #3
0
 public DataSet GetAll(int pageIndex, int pageSize, string filter)
 {
     using (PersistentManager pm = new PersistentManager())
     {
         SysGroupDao groupDao = new SysGroupDao();
         return groupDao.FindAll((pageIndex - 1) * pageSize, pageSize, filter);
     }
 }
Пример #4
0
 public DataTable GetAll()
 {
     using (PersistentManager persistentManager = new PersistentManager())
     {
         SysGroupDao groupDao = new SysGroupDao();
         return groupDao.FindAll();
     }
 }
Пример #5
0
 public bool Delete(DataSet dataSet)
 {
     bool flag = false;
     using (PersistentManager persistentManager = new PersistentManager())
     {
         SysGroupDao GroupDao = new SysGroupDao();
         GroupDao.DeleteEntity(dataSet);
         flag = true;
     }
     return flag;
 }
Пример #6
0
 public DataSet GetSystemSubModules()
 {
     
     using (PersistentManager persistentManager = new PersistentManager())
     {
         SysGroupDao groupDao = new SysGroupDao();
         return groupDao.FindSystemSubModules();
     }
 }
Пример #7
0
 public string GetNavigation(string menuCode)
 {
     using (PersistentManager persistentManager = new PersistentManager())
     {
         SysGroupDao groupDao = new SysGroupDao();
         return groupDao.FindNavigation(menuCode);
     }
 }
Пример #8
0
 public DataSet GetGroupRole(int groupID)
 {
     using (PersistentManager persistentManager = new PersistentManager())
     {
         SysGroupDao groupDao = new SysGroupDao();
         return groupDao.FindRole(groupID);
     }
 }
Пример #9
0
        public void InsertGroupOperation(int groupID, string moduleID)
        {

            using (PersistentManager persistentManager = new PersistentManager())
            {
                SysGroupDao groupDao = new SysGroupDao();
                groupDao.InsertGroupOperation(groupID, moduleID);
            }
        }
Пример #10
0
        public void DeleteGroupOperation(int groupID)
        {

            using (PersistentManager persistentManager = new PersistentManager())
            {
                SysGroupDao groupDao = new SysGroupDao();
                groupDao.DeleteGroupOperation(groupID);
            }
        }
Пример #11
0
 public DataSet GetSystemOperations()
 {
     
     using (PersistentManager persistentManager = new PersistentManager())
     {
         SysGroupDao groupDal = new SysGroupDao();
         return groupDal.FindSystemOperation();
     }
 }