Is it possible to use Microsoft Entity Framework with Oracle database?
7 Answers
Update:
Oracle now fully supports the Entity Framework. Oracle Data Provider for .NET Release 11.2.0.3 (ODAC 11.2) Release Notes: http://docs.oracle.com/cd/E20434_01/doc/win.112/e23174/whatsnew.htm#BGGJIEIC
More documentation on Linq to Entities and ADO.NET Entity Framework: http://docs.oracle.com/cd/E20434_01/doc/win.112/e23174/featLINQ.htm#CJACEDJG
Note: ODP.NET also supports Entity SQL.

- 5,555
- 8
- 44
- 52

- 1,105
- 1
- 8
- 12
-
Oracle will likely release a beta refresh at some point in the future. In case the link above breaks, keep an eye on http://www.oracle.com/technetwork/topics/dotnet/whatsnew/index.html for announcements. – Christian Shay Mar 15 '11 at 17:44
-
1
-
1now, in 2013, any driver fully managed .NET for Oracle (EF included) ? – Kiquenet Aug 02 '13 at 11:19
-
@Kiquenet - In 2015 (and probably earlier) Oracle has a managed driver that supports Entity Framework. It's available in NuGet. – Mike Grove aka Theophilus May 18 '15 at 16:57
DevArt's OraDirect provider now supports entity framework. See http://devart.com/news/2008/directs475.html

- 2,169
- 1
- 15
- 12
-
1Devart dotConnect for Oracle (formerly OraDirect .NET) now provides support for Entity Framework v4 Release Candidate http://www.devart.com/blogs/dotconnect/?p=2062 – Devart Apr 02 '10 at 11:16
-
You can read more and download trial version of Devart dotConnect for Oracle here - http://www.devart.com/dotconnect/oracle/. – JackD Dec 07 '10 at 16:42
-
For Model-first, the devArt dotConnect DDL generation template makes a much more sensible stab at data types than the first-cut Oracle beta (eg: doesn't just make everything Numeric(38,0)). The Oracle template doesn't even generate sequences for identity fields... – piers7 Jun 29 '11 at 02:17
Oracle have announced a "statement of direction" for ODP.net and the Entity Framework:
In summary, ODP.Net beta around the end of 2010, production sometime in 2011.

- 21,321
- 22
- 95
- 134

- 227
- 2
- 3
-
5By then V5 of the EF would have shipped, oracle seems to be doing what ever it can get away with to mark it hard to use .net with oracle and Microsoft is doing what ever it can get away with it make it hard to use oracle with .net – Ian Ringrose Aug 06 '10 at 08:30
-
1The Oracle website got redesigned and some links got broken. Here is the new link for the Oracle and Entity Framework statement of direction: http://www.oracle.com/technetwork/topics/dotnet/whatsnew/oracle-entity-framework-sod-130214.pdf – Christian Shay Sep 04 '10 at 00:01
In case you don't know it already, Oracle has released ODP.NET which supports Entity Framework. It doesn't support code first yet though.
http://www.oracle.com/technetwork/topics/dotnet/index-085163.html

- 2,221
- 22
- 23
The answer is "mostly".
We've hit a problem using it where the EF generates code that uses the CROSS and OUTER APPLY operators. This link shows that MS knows its a problem with SQL Server previous to 2005 however, they forget to mention that these operators are not supported by Oracle either.

- 51,617
- 12
- 104
- 148
-
-
FYI - The APPLY SQL keyword was added to Oracle Database 12c. So eventually this issue will fade away as people move to this version of the database. The scenarios where APPLY shows up are not that common. – Christian Shay Feb 23 '14 at 00:02
Now has a new nuget package, try use it: https://www.nuget.org/packages/Oracle.ManagedDataAccess.EntityFramework/

- 173
- 1
- 1
- 9