Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

System.Data.OracleClient Vs. ODP.NET [closed]

Which of the above should I use. Please let me know with respect to the following aspects:

  • Efficiency
  • Licensing (are both free? )
  • Ease of development
  • Compatibility with .NET datatypes etc.
like image 721
ria Avatar asked Sep 12 '11 12:09

ria


People also ask

What is the difference between managed and unmanaged ODP net?

ODP.NET, Managed Driver consists of fewer DLLs than ODP.NET, Unmanaged Driver. Hence, the installation size of the Managed Driver is smaller than that of the Unmanaged Driver. ODP.NET Core is similar to the ODP.NET, Managed Driver yet with reduced set of provided APIs. Both use the same namespaces.

What is managed ODP net?

ODP.NET, Managed Driver is 100% managed code . NET Framework provider. Developers deploy a single assembly in a deployment package smaller than 10 MB. ODP.NET, Unmanaged Driver is the traditional Oracle ADO.NET provider that uses the Oracle Database Client. ODP.NET 21c add support for user-defined types, .

Does Oracle ManagedDataAccess require Oracle client?

ManagedDataAccess. dll , that allows you to connect to an Oracle database without any other software installed. In fact, you don't even need to "install" Managed ODP.NET, you just need the dll, and you can safely deploy it to servers with no software installed.


1 Answers

the only way you should go is the ODP.NET, the OracleClient has been deprecated and will not be supported any longer in future versions of the .NET Framework.

check here: Microsoft OracleClient Deprecated

Edit: from the linked article:

Oracle's free Oracle Data Provider for .NET (ODP.NET)

ODP.NET 11g is compatbile with all versions of Oracle Database back to 9.2, and multiple versions can coexist in a single OS

like image 102
Davide Piras Avatar answered Sep 22 '22 09:09

Davide Piras