예제 #1
0
        public List <Book.Model.T_Base_Provider> GetList(int currentPage, int pageSize, String Name = "")
        {
            Book.DAL.T_Base_Provider          dal = new DAL.T_Base_Provider();
            List <Book.Model.T_Base_Provider> lst = dal.GetList(currentPage, pageSize, Name);

            return(lst);
        }
예제 #2
0
        public List <Book.Model.T_Base_Provider> GetList(int PageNumber, int PageSize)
        {
            Book.DAL.T_Base_Provider          dal  = new DAL.T_Base_Provider();
            List <Book.Model.T_Base_Provider> list = dal.GetList(PageNumber, PageSize);

            return(list);
        }
예제 #3
0
        public Book.Model.T_Base_Provider_Page GetListPage(int CurrentPage, int PageSize, String Name = "")
        {
            Book.DAL.T_Base_Provider          dal  = new DAL.T_Base_Provider();
            List <Book.Model.T_Base_Provider> list = dal.GetList(CurrentPage, PageSize, Name);
            int count = dal.GetCount(Name);

            Book.Model.T_Base_Provider_Page page = new Model.T_Base_Provider_Page();
            page.list  = list;
            page.count = count;
            return(page);
        }
예제 #4
0
 public List <Book.Model.T_Base_Provider> GetList(int CurrentPage, int PageSize)
 {
     Book.DAL.T_Base_Provider dal = new DAL.T_Base_Provider();
     return(dal.GetList(CurrentPage, PageSize));
 }