Entity framework 6.0 with oracle 11 - oracle

is the Entity framework 6.0 compatible with oracle 11 ?
Will there be support for Entity Framework 6 in managed ODP.NET ?
Any reliable provider in the market for Entity framework 6.0,Oracle 11 support ?

As of today dotConnect for Oracle from Devart should work as far as I investigated (here). I don't think the guys from Oracle has reached so far to make ODP.NET compatible to EF6.
Actually I am also working on a project and I am curious about the results.

Related

Use Entity Framework in .net 4.0 with Oracle database

I#m having the same problem as in issue: Use Entity Framework in .net 4.0 with Oracle database - possible?
The question was not answered in my opinion. So I would like to know if there is a possibility of using EF6 with Oracle.ManagedDataAccess.EntityFramework for a .NET4.0 project.

ODP .Net 12 using OraClient11

I know that the request may look somehow weird but I am trying to develop a .Net application using EF and Visual Studio 2010 against a ORACLE 10g DB.
Initially I tried with EF4 which is the embedded one in VS2010 and with ODP11 I am able to make it work. But due to some specific bugs in EF4 (StoreGeneratedPattern bug) I want to go to EF5 or EF6.
While "googleing" a bit I was able to Install EF6 using the nugets and adding the context generator for EF using the following explanation:
https://msdn.microsoft.com/en-us/data/jj206878.aspx
The problem here is that the system is not able to find a proper ODP provider for Entity Framework as I only have ODP11 installed.
Again after investigating a bit :) I saw I need ODP12 which will have full support to EF. My problem here is that all servers will be working with OraClient 11g against a Ora10g DB... I know there is no major problem (at least for the use I need) to use Ora11Client with a Ora10Server but what about ODP? I cannot change the Oracle client and I am wondering whether I can face any issue by having my application developed with ODP12 and being executed in a machine with Ora11g Client.
Is anyone having some advice on this?
Thanks a lot in advance!!
It's my understanding that the managed driver for 12 (Oracle.ManagedDataAccess and Oracle.ManagedDataAccess.EntityFramework available on NuGet) will connect to 10.2 and above and does not require ANY client installed on the computer as it contains the client it needs. It just gets installed in the app's bin directory. Be aware though that it doesn't seem to currently work with .NET 4.0 in case you're still targeting that. The 4.0 version of Oracle.ManagedDataAccess.EntityFramework shows up on NuGet as a beta version and is actually compiled against .NET 4.5.
ODP.NET 12.x has a dependency on the Oracle 12 client software so you cannot use it with the 11 client stack. You can use ODP.NET 12 to connect to databases going back to version 10.2.
You can embed the ODP.NET, unmanaged client stack in your app by using the Xcopy download, or you could use the ODP.NET, Managed Driver which is just one DLL and less than 10 MB in size.
Oracle has the concept of an "Oracle Home" (subdirectories) to allow multiple versions of software to run side by side. So that version 11 Client on your servers can exist alongside with the version 12 software you deploy there.

How far is the implementation with Oracle and the entity framework

I want to NO I have to use Entity Framework with Oracle database (version is not defined).
I would like to use Code First and I have read in an article from 2012 that it is not implemented by Oracle.
1) Has that changed with latest EF 6.0.2?
2) Is there still something which should not work in latest EF 6.x you made the experience with?
Entity Framework 6 support is implemented in Devart ADO.NET providers.
Please check below mentioned article for full details (posted on October 17th, 2013).
Entity Framework 6 Support for Oracle

Entity Framework 4 with Oracle

I installed the ODP 11 lateset version, which suposed to wupport EF4.
But when i'm trying to add entity data model in the VS2010, I don't have the option to select Oracle Database.
Is there anything else i need to do?
Also, I have running on my pc Oracle Express 10g - Is the 11 ODP will work with this DB?
Maybe I missed something, but EF4 is still not supported in the latest ODP.NET

Which Oracle Client and ODP.NET version should I install (using .NET 3.5)

After quite some time developing with Oracle Client 9.2.0.7, and the ODP.NET to go with it, targeting .NET 1.1, we are upgrading our code line to .NET 3.5 and we are also considering upgrading the Oracle Client version.
I wonder if there are any "gotchas" as to whether specific versions should be used/not used?
For example Oracle Client 9.2.0.4 was known to be buggy with .NET and the upgrade to 9.2.0.7 was non optional.
Apparently the current Oracle Client version is 11.1.0.7.0 (from here). Has anyobody had specific issues with this version and would recommend other version? Sometimes installing the latest release isn't the best choice...
Take a look at the following document from Metalink, it might help. It contains a matrix of ODP Driver Version, Supported Operating System, SQL*Net, RDBMS, .NET Framework, and Visual Studio.
Subject: Oracle Data Provider for .NET (ODP) Supported Configurations
Doc ID: 726240.1
If all you need to do is talk to Oracle, then you can use my instructions found here for the Oracle 11 Client XCopy deploy.
The latest version is the only version that you can use if you have visual studio 2008 unless you don't want any of the snazzy add ins that Oracle provides with it (such as SQLPlus and such). I use the latest version to connect to a 10g database just fine.

Resources