/// <summary> /// 获取数据分页列表,并返回所有记录数 /// </summary> /// <param name="pageIndex"></param> /// <param name="pageSize"></param> /// <param name="totalRecords"></param> /// <param name="sqlWhere"></param> /// <param name="cmdParms"></param> /// <returns></returns> public IList <RegionInfo> GetList(int pageIndex, int pageSize, out int totalRecords, string sqlWhere, params SqlParameter[] cmdParms) { return(dal.GetList(pageIndex, pageSize, out totalRecords, sqlWhere, cmdParms)); }