Oracle and ADO.NET
|The types in System.Data.OracleClient are deprecated. The types remain supported in the current version of.NET Framework but will be removed in a future release. Microsoft recommends that you use a third-party Oracle provider.|
This section describes features and behaviors that are specific to the .NET Framework Data Provider for Oracle.
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.
To use the .NET Framework Data Provider for Oracle, an application must reference the System.Data.OracleClient namespace as follows:
You also must include a reference to the DLL when you compile your code. For example, if you are compiling a C# program, your command line should include:
In This Section
- System Requirements
- Describes requirements for using the .NET Framework Data Provider for Oracle, and describes a number of issues to be aware when using it.
- Oracle BFILEs
- Describes the OracleBFile class, which is used to work with the Oracle BFILE data type.
- Oracle REF CURSORs
- Describes support for the Oracle REF CURSOR data type.
- Describes structures you can use to work with Oracle data types, including OracleNumber and OracleString.
- Oracle Sequences
- Describes support for retrieving the server-generated key Oracle Sequence values.
ADO.NET Managed Providers and DataSet Developer Center