Thanasis Ioannidis
Thanasis Ioannidis

Reputation: 3231

Oracle Entity Framework 6 support for .net Framework 4 and VS 2010?

I want to use entity framework 6 with an underlying Oracle database. I use Visual Studio 2010 (therefore .net framework 4). Oracle's NuGet package for ODP.NET supporting EF 6, comes with an assembly built only for .net framework 4.5 (which is not supported in VS 2010).

Is there a way to have an ODP.NET assembly for .net4 supporting ef6? (or at least make the 4.5 assembly work in .net4 project?

If not, is there an alternative entity framework provider for Oracle database that is build for .net4?

Upvotes: 0

Views: 618

Answers (1)

Christian Shay
Christian Shay

Reputation: 2635

With "EF code first" .NET 4.5 is required ( http://docs.oracle.com/cd/E56485_01/win.121/e55744/InstallEntityReq.htm#ODPNT8263 ). If you are using Model first or Database first, then .NET 4.0 is fine. Devart may offer a data provider that supports .NET 4.0 with code first.

Upvotes: 1

Related Questions