efcore icon indicating copy to clipboard operation
efcore copied to clipboard

DbContext with Async queries

Open romil-zealous opened this issue 9 years ago • 1 comments

Hello,

EF: 6.1.3

When I use any async methods such as .ToListAsync(), .FirstOrDefaultAsync() etc, my query execution freezes and it never returns anything. If I use synchronous methods such ash .ToList() on same DbContext, then I get the results which is expected. I am not able to understand what is the issue with async methods. Please help.

Regards, Romil

romil-zealous avatar Jun 20 '17 06:06 romil-zealous

This is the EntityFramework Core repo. You should ask your question in EF6 repo here: https://github.com/aspnet/EntityFramework6

vladislav-karamfilov avatar Jun 20 '17 07:06 vladislav-karamfilov