Skip to content

await q.Where(where).ToListAsync() 报错 #23

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
908705107 opened this issue Mar 29, 2020 · 2 comments
Closed

await q.Where(where).ToListAsync() 报错 #23

908705107 opened this issue Mar 29, 2020 · 2 comments
Labels
bug Something isn't working

Comments

@908705107
Copy link

q是IQueryable<Article_Info>类型

  • return await q.Where(where).GetPagination(pagination).ToListAsync();--能正常返回数据
  • return await q.Where(where).ToListAsync(); --报错

报错信息
The source IQueryable doesn't implement IAsyncEnumerable<Coldairarrow.Entity.ArticleManage.Article_Info>. Only sources that implement IAsyncEnumerable can be used for Entity Framework asynchronous operations.

@Coldairarrow Coldairarrow added the bug Something isn't working label Mar 31, 2020
@Coldairarrow
Copy link
Owner

无法复现,请进群沟通

@Coldairarrow
Copy link
Owner

v3.0完成

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants