OracleConnection Members
OracleConnection
members are listed in the following tables.
OracleConnection Constructors
OracleConnection
constructors are listed in Table 6-38.
Table 6-38 OracleConnection Constructors
Constructor | Description |
---|---|
Instantiates a new instance of the |
OracleConnection Static Properties
The OracleConnection
static property is listed in Table 6-40.
Table 6-39 OracleConnection Static Property
Property | Description |
---|---|
Indicates whether or not the implicit database connection is available for use |
OracleConnection Static Methods
The OracleConnection
static methods are listed in Table 6-40.
Table 6-40 OracleConnection Static Methods
Method | Description |
---|---|
|
Inherited from |
Clears the connection pool that is associated with the provided Not supported in a .NET stored procedure |
|
Clears all connections from all the connection pools Not supported in a .NET stored procedure |
OracleConnection Properties
OracleConnection
properties are listed in Table 6-41.
Table 6-41 OracleConnection Properties
Property | Description |
---|---|
Specifies the action name for the connection |
|
Specifies the client identifier for the connection |
|
Specifies the client information for the connection |
|
Specifies connection information used to connect to an Oracle database |
|
Indicates the maximum amount of time that the |
|
Determines whether a particular connection object is associated with a TimesTen database connection, an Oracle database connection, or no physical connection Not Available in ODP.NET, Managed Driver and ODP.NET Core |
|
|
Inherited from |
Used to get or set an |
|
Not Supported |
|
Specifies the name of the database domain to which the connection is set |
|
Sets or gets the edition name for the |
|
Specifies the name of the database to which the connection is set |
|
Specifies the Oracle Net Services Name, Connect Descriptor, or an easy connect naming that identifies the database to which to connect |
|
Specifies a logical name that identifies the DRCP connection pool that the ODP.NET connection will use |
|
Specifies whether an application can reuse a pooled session ( |
|
Specifies the name of the host to which the connection is set |
|
Specifies the name of the instance to which the connection is set |
|
Specifies the module name for the connection |
|
Used to set and get the name of the pluggable database to which the session is connected to |
|
Specifies the version number of the Oracle database to which the |
|
Specifies the name of the service to which the connection is set |
|
|
Inherited from |
Specifies the current state of the connection |
|
Specifies the current size of the statement cache associated with this connection |
|
If the returned pooled connection changed its service name ( |
OracleConnection Public Methods
OracleConnection
public methods are listed in Table 6-42.
Table 6-42 OracleConnection Public Methods
Public Method | Description |
---|---|
Begins a local transaction (Overloaded) Not supported in a .NET stored procedure for context connection |
|
Not Supported |
|
Creates a copy of an Not supported in a .NET stored procedure |
|
Closes the database connection |
|
Creates and returns an |
|
|
Inherited from |
|
Inherited from |
Enables applications to explicitly enlist in a specified distributed transaction Not supported in a .NET stored procedure and .NET Core |
|
Enables applications to enlist in a specified distributed transaction Not supported in a .NET stored procedure |
|
|
Inherited from |
Flushes all updates and deletes made through Not Available in ODP.NET, Managed Driver and ODP.NET Core |
|
|
Inherited from |
|
Inherited from |
Returns schema information for the data source of the |
|
Returns or refreshes the property values of the |
|
|
Inherited from |
|
Inherited from |
Opens a database connection with the property settings specified by the |
|
Opens a new connection with the new password (Overloaded) Not supported in a .NET stored procedure for context connection |
|
Flushes the Statement Cache by closing all open cursors on the database, when statement caching is enabled |
|
Alters the session's globalization settings with the property values provided by the |
|
Enables applications to set the sharding key and super sharding key before requesting a connection Not Available in ODP.NET, Managed Driver and ODP.NET Core |
|
|
Inherited from |
OracleConnection Events
OracleConnection
events are listed in Table 6-43.
Table 6-43 OracleConnection Events
Event Name | Description |
---|---|
This event is triggered upon the |
|
|
Inherited from |
An event that is triggered when an Oracle failover occurs Not supported in a .NET stored procedure Not Available in ODP.NET, Managed Driver and ODP.NET Core |
|
An event that is triggered when an HA event occurs |
|
An event that is triggered for any message or warning sent by the database |
|
An event that is triggered when the connection state changes |