aemik
aemik

Reputation: 35

Connect to Oracle database without client installation on .net

I just want to connect to an oracle database without an installation. On java I can use a simple jdbc library. But what is the easiest way in .net C# to connect to an oracle database? I also need an interface to switch the drivers like on jdbc for other SQL databases.

Thanks for help!

Upvotes: 0

Views: 1365

Answers (1)

CodingGorilla
CodingGorilla

Reputation: 19862

I think what you want is the Oracle Managed Driver: https://www.nuget.org/packages/Oracle.ManagedDataAccess/

I'm not sure what you meant by

I also need an interface to switch the drivers like on jdbc for other SQL databases.

This is a managed ADO.NET driver, so if you want to use a different database (e.g. MySQL) then you just stop using this driver and use the other one.

Upvotes: 4

Related Questions