Пример #1
0
 /// <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 <BrandInfo> GetList(int pageIndex, int pageSize, out int totalRecords, string sqlWhere, params SqlParameter[] cmdParms)
 {
     return(dal.GetList(pageIndex, pageSize, out totalRecords, sqlWhere, cmdParms));
 }
Пример #2
0
 public DataSet GetList(string strWhere)
 {
     return(dal.GetList(strWhere));
 }