I have recently set up an entity framework db context using dotconnect for Oracle version 8.0.17 and entity framework 6 and .net framework 4.5.
I was thinking I would be able to use the new async extension methods that are part of EF6.
The EF context itself is up and working.
But none of the async extension methods (such as ToListAsync() ) seem to be available, just the old synch methods.
Is there something I am doing wrong? I looked on the form for threads on async, but they are all over a year old.
Could you confirm for me whether async methods are available with dot connect version 8.x.
And if so, what do I need to do to use them?
entity framework 6 async support
Re: entity framework 6 async support
Please make sure that the target framework of your project is .NET 4.5. Reinstall EntityFramework.dll v6 after this.
Re: entity framework 6 async support
Thanks for the help. I did the update but the methods still did not show up.
But I then added the using statement
using System.Data.Entity;
and then the methods were there.
This is great, async with EF!
But I then added the using statement
using System.Data.Entity;
and then the methods were there.
This is great, async with EF!