我正在尝试执行一个包含WHERE作为异步函数的查询。就像使用操作一样,但是没有WhereAsync,所以我想知道是否有一些解决方法。我有一个具有GetEntitiesAsync函数的ApplicationRepository对象,我尝试了一下:
public async Task<IEnumerable<TEntity>> GetEntitiesAsync<TEntity>(Func<TEntity, bool> selector) where TE
到目前为止我得到的是: where TEntity : class, IContextEntity}IQueryable<Person> people = (IQueryable<Person>)repository.GetQueriableLazy<Person上面的代码似乎挫败了依赖注入的全部目的,因为我使控制器中的操作依赖于D