using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;

namespace HySoft.BaseCallCenter.BLL
{
    public class Proc_Pagination
    {
        private readonly HySoft.BaseCallCenter.DAL.Proc_Pagination dal = new HySoft.BaseCallCenter.DAL.Proc_Pagination();
        public Proc_Pagination()
        { }
        /// <summary>
        /// 分页获取数据
        /// </summary>
        /// <param name="PageSize"></param>
        /// <param name="PageIndex"></param>
        /// <param name="strWhere"></param>
        /// <returns></returns>
        public DataTable GetListPager(string viewtable, string viewKey, string searchField, string sortStr, string WhereStr, int PageSize, int PageIndex, bool IsCount, out int RecordCount)
        {
            return dal.GetListPager(viewtable, viewKey, searchField, sortStr,WhereStr, PageSize, PageIndex, IsCount, out RecordCount);
        }
    }
}
