コード例 #1
0
 public DataTable GetAll()
 {
     using (PersistentManager persistentManager = new PersistentManager())
     {
         SysUserDao userDao = new SysUserDao();
         return(userDao.FindAll());
     }
 }
コード例 #2
0
 public DataSet GetUserList(int pageIndex, int pageSize, string filter)
 {
     using (PersistentManager persistentManager = new PersistentManager())
     {
         SysUserDao userDao = new SysUserDao();
         return(userDao.FindAll((pageIndex - 1) * pageSize, pageSize, filter));
     }
 }