Developers community number 1 connection string reference

.NET Framework Data Provider for Oracle

This is a .NET Framework Class Library provided by Microsoft.
The class library is contained in the file System.Data.OracleClient.dll.
Coding
Add a reference to the assembly System.Data.OracleClient and include the System.Data.OracleClient namespace. Instantiate a new OracleConnection connection object. Set the connection string and open the connection.


VB.NET code sample
Imports System.Data.OracleClient
Dim myConnection As OracleConnection = New OracleConnection;();
myConnection.ConnectionString = myConnectionString
myConnection.Open()
//execute queries, etc
myConnection.Close()


C# code sample
using System.Data.OracleClient;
OracleConnection myConnection = new OracleConnection;();
myConnection.ConnectionString = myConnectionString;
myConnection.Open();
//execute queries, etc
myConnection.Close();


Description
The .NET Framework Data Provider for Oracle provides access to an Oracle database using the Oracle Call Interface (OCI) as provided by Oracle Client software. The functionality of the data provider is designed to be similar to that of the .NET Framework data providers for SQL Server, OLE DB, and ODBC.;
More info about this class library can be found at the Microsoft product page.
Connection Strings
The .NET Framework Data Provider for Oracle class library can be used to connect to the following data sources.

To see the available connection options, navigate to the connection strings reference by clicking the data source link.
Oracle
Additional info or comments on this class library? Want to submit content?

Send an e-mail to
Copyright © 2012 ConnectionStrings.com   |   All Rights Reserved   |   Powered by CSAS   |   Send feedback, articles, requests and more connection strings here.