public List <T_OA_ARCHIVES> GetArchives(int pageIndex, int pageSize, string sort, string filterString, object[] paras, ref int pageCount, string userID)
 {
     using (ArchivesManagementBll archivesBll = new ArchivesManagementBll())
     {
         //List<T_OA_ARCHIVES> ArchivesList = ArchivesBll.GetArchives().ToList<T_OA_ARCHIVES>;
         IQueryable <T_OA_ARCHIVES> ArchivesList = archivesBll.QueryWithPaging(pageIndex, pageSize, sort, filterString, paras, ref pageCount, userID, "OAARCHIVES");//2010-7-22 liujx
         //IQueryable<T_OA_ARCHIVES> ArchivesList = archivesBll.QueryWithPaging(pageIndex, pageSize, sort, filterString, paras, ref  pageCount, userID, "T_OA_ARCHIVES");
         return(ArchivesList == null ? null : ArchivesList.ToList());
     }
 }
Beispiel #2
0
 public List<T_OA_ARCHIVES> GetArchives(int pageIndex, int pageSize, string sort, string filterString, object[] paras, ref int pageCount, string userID)
 {
     using (ArchivesManagementBll archivesBll = new ArchivesManagementBll())
     {
         //List<T_OA_ARCHIVES> ArchivesList = ArchivesBll.GetArchives().ToList<T_OA_ARCHIVES>;
         IQueryable<T_OA_ARCHIVES> ArchivesList = archivesBll.QueryWithPaging(pageIndex, pageSize, sort, filterString, paras, ref  pageCount, userID, "OAARCHIVES");//2010-7-22 liujx
         //IQueryable<T_OA_ARCHIVES> ArchivesList = archivesBll.QueryWithPaging(pageIndex, pageSize, sort, filterString, paras, ref  pageCount, userID, "T_OA_ARCHIVES");
         return ArchivesList == null ? null : ArchivesList.ToList();
     }
 }