示例#1
0
 /// <summary>
 /// 分页查询
 /// </summary>
 /// <param name="pageSize">每页条数</param>
 /// <param name="pageIndex">页码</param>
 /// <param name="totalCount">总条数</param>
 /// <param name="where">查询条件</param>
 /// <param name="param">条件语句参数化</param>
 /// <param name="orderBy">排序</param>
 /// <returns></returns>
 public List <Users> GetPaged(int pageSize, int pageIndex, out int totalCount, string where, object param = null, string orderBy = null)
 {
     return(dal.GetPaged(pageSize, pageIndex, out totalCount, where, param, orderBy));
 }