Exemplo n.º 1
0
 public int GetCount(string filter)
 {
     using (PersistentManager pm = new PersistentManager())
     {
        SysGroupDao groupDao = new SysGroupDao();
         return groupDao.FindCount(filter);
     }
 }
Exemplo n.º 2
0
 public int GetGroupMemberCount(int groupID)
 {
     using (PersistentManager pm = new PersistentManager())
     {
         SysGroupDao groupDao = new SysGroupDao();
         return groupDao.FindGroupMemberCount(groupID);
     }
 }
Exemplo n.º 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);
     }
 }
Exemplo n.º 4
0
 public DataTable GetAll()
 {
     using (PersistentManager persistentManager = new PersistentManager())
     {
         SysGroupDao groupDao = new SysGroupDao();
         return groupDao.FindAll();
     }
 }
Exemplo n.º 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;
 }
Exemplo n.º 6
0
 public DataSet GetSystemSubModules()
 {
     
     using (PersistentManager persistentManager = new PersistentManager())
     {
         SysGroupDao groupDao = new SysGroupDao();
         return groupDao.FindSystemSubModules();
     }
 }
Exemplo n.º 7
0
 public string GetNavigation(string menuCode)
 {
     using (PersistentManager persistentManager = new PersistentManager())
     {
         SysGroupDao groupDao = new SysGroupDao();
         return groupDao.FindNavigation(menuCode);
     }
 }
Exemplo n.º 8
0
 public DataSet GetGroupRole(int groupID)
 {
     using (PersistentManager persistentManager = new PersistentManager())
     {
         SysGroupDao groupDao = new SysGroupDao();
         return groupDao.FindRole(groupID);
     }
 }
Exemplo n.º 9
0
        public void InsertGroupOperation(int groupID, string moduleID)
        {

            using (PersistentManager persistentManager = new PersistentManager())
            {
                SysGroupDao groupDao = new SysGroupDao();
                groupDao.InsertGroupOperation(groupID, moduleID);
            }
        }
Exemplo n.º 10
0
        public void DeleteGroupOperation(int groupID)
        {

            using (PersistentManager persistentManager = new PersistentManager())
            {
                SysGroupDao groupDao = new SysGroupDao();
                groupDao.DeleteGroupOperation(groupID);
            }
        }
Exemplo n.º 11
0
 public DataSet GetSystemOperations()
 {
     
     using (PersistentManager persistentManager = new PersistentManager())
     {
         SysGroupDao groupDal = new SysGroupDao();
         return groupDal.FindSystemOperation();
     }
 }