Açıklama Yok

PagerDAL.cs 848B

123456789101112131415161718192021222324252627
  1. using CallCenterApi.DB;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Data;
  5. using System.Linq;
  6. using System.Text;
  7. using System.Threading.Tasks;
  8. namespace CallCenterApi.DAL
  9. {
  10. public class PagerDAL
  11. {
  12. /// <summary>
  13. /// 分页获取数据
  14. /// </summary>
  15. /// <param name="PageSize"></param>
  16. /// <param name="PageIndex"></param>
  17. /// <param name="strWhere"></param>
  18. /// <returns></returns>
  19. public static DataTable GetListPager(string TableName, string PK, string Fields, string WhereStr, string OrderStr, int PageSize, int PageIndex, bool IsCount, out int RecordCount)
  20. {
  21. DataTable dt = DbHelperSQL.RunPagination(TableName, PK, Fields, WhereStr, OrderStr, PageSize, PageIndex, IsCount, out RecordCount);
  22. return dt;
  23. }
  24. }
  25. }