I’m writing a application, where I also work with ADO.NET:
using System.Data.OracleClient;
Code example:
try{
OracleConnection myOracleConnection = new OracleConnection(connectionString);
myOracleConnection.Open();
OracleCommand command = myOracleConnection.CreateCommand();
...
}
It works but I got warnings:
Warning 3 'System.Data.OracleClient.OracleCommand' is obsolete: 'OracleCommand has been deprecated. http://go.microsoft.com/fwlink/?LinkID=144260'
Whats other options do I have? “Microsoft recommends that you use a third-party Oracle provider.” —
You should be using ODP.NET (Oracle Data Provider for .NET)