Repository 新增分页方法重载

This commit is contained in:
不做码农
2022-01-05 07:17:44 +08:00
parent d50c034624
commit 3f0357fe77
2 changed files with 7 additions and 0 deletions

View File

@@ -87,6 +87,7 @@ namespace ZR.Repository
PagedInfo<T> GetPages(Expression<Func<T, bool>> where, PagerInfo parm);
PagedInfo<T> GetPages(Expression<Func<T, bool>> where, PagerInfo parm, Expression<Func<T, object>> order, OrderByType orderEnum = OrderByType.Asc);
PagedInfo<T> GetPages(Expression<Func<T, bool>> where, PagerInfo parm, Expression<Func<T, object>> order, string orderByType);
bool Any(Expression<Func<T, bool>> expression);