entity framework 6 async support

entity framework 6 async support

Postby vonbrana » Thu 31 Oct 2013 19:00

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?
vonbrana
 
Posts: 8
Joined: Sun 04 Dec 2011 00:10

Re: entity framework 6 async support

Postby Shalex » Mon 04 Nov 2013 17:32

Please make sure that the target framework of your project is .NET 4.5. Reinstall EntityFramework.dll v6 after this.
Shalex
Devart Team
 
Posts: 7542
Joined: Thu 14 Aug 2008 12:44

Re: entity framework 6 async support

Postby vonbrana » Tue 05 Nov 2013 15:17

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!
vonbrana
 
Posts: 8
Joined: Sun 04 Dec 2011 00:10


Return to dotConnect for Oracle