示例#1
0
文件: Admin.cs 项目: wayshan/tljs
 /// <summary>
 /// 获取列表
 /// </summary>
 /// <typeparam name="Tkey">类型</typeparam>
 /// <param name="pageIndex">页索引</param>
 /// <param name="pageSize">页数量</param>
 /// <param name="whereLambda">查询条件</param>
 /// <param name="orderLambda">排序条件</param>
 /// <param name="total">总记录数量</param>
 /// <returns></returns>
 public List <Model.Admin> GetList <Tkey>(int pageIndex, int pageSize, ref int total, Expression <Func <Model.Admin, bool> > whereLambda, Expression <Func <Model.Admin, Tkey> > orderLambda, bool isASC = true)
 {
     return(dal.GetPagedList(pageIndex, pageSize, ref total, whereLambda, orderLambda, isASC));
 }