/// <summary> /// 分页查询数据列表并排序 /// </summary> /// <param name="pageIndex">页码</param> /// <param name="pageSize">每页数量</param> /// <param name="whereLandba">查询条件</param> /// <param name="orderLandba">排序条件</param> /// <param name="isAsc">是否升序</param> /// <returns>数据列表</returns> public IQueryable <T> GetPageListOrderBy <TKey>(int pageIndex, int pageSize, Expression <Func <T, bool> > whereLandba, Expression <Func <T, TKey> > orderLandba, bool isAsc = true) { return(dal.GetPageListOrderBy(pageIndex, pageSize, whereLandba, orderLandba, isAsc)); }