OracleDatabase Class

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Represents an Oracle database.

Namespace:  Microsoft.Practices.EnterpriseLibrary.Data.Oracle
Assembly:  Microsoft.Practices.EnterpriseLibrary.Data (in Microsoft.Practices.EnterpriseLibrary.Data.dll)

Syntax

'Declaration
<OraclePermissionAttribute(SecurityAction.Demand)> _
PublicClassOracleDatabase _
    Inherits Database
[OraclePermissionAttribute(SecurityAction.Demand)]
publicclassOracleDatabase : Database
[OraclePermissionAttribute(SecurityAction::Demand)]
publicref classOracleDatabase : public Database
publicclass OracleDatabase extends Database

Remarks

Internally uses Oracle .NET Managed Provider from Microsoft (System.Data.OracleClient) to connect to a Oracle 9i database.

When retrieving a result set, it will build the package name. The package name should be set based on the stored procedure prefix and this should be set via configuration. For example, a package name should be set as prefix of "ENTLIB_" and package name of "pkgENTLIB_ARCHITECTURE". For your applications, this is required only if you are defining your stored procedures returning ref cursors.

Inheritance Hierarchy

System.Object
  Microsoft.Practices.EnterpriseLibrary.Data.Database
    Microsoft.Practices.EnterpriseLibrary.Data.Oracle.OracleDatabase

See Also

OracleDatabase Members

Microsoft.Practices.EnterpriseLibrary.Data.Oracle Namespace

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.