我有以下通用存储库函数,但无法传递 order by
Task<List<T>> AdvGetAllAsync(
Expression<Func<T, bool>> expression = null,
Func<IQueryable<T>, IOrderedQueryable<T>> orderBy = null,
List<string> includes = null
);
我有以下通用存储库函数,但无法传递 order by
Task<List<T>> AdvGetAllAsync(
Expression<Func<T, bool>> expression = null,
Func<IQueryable<T>, IOrderedQueryable<T>> orderBy = null,
List<string> includes = null
);