OracleDataSource Members
OracleDataSource members are listed in the following tables.
OracleDataSource Public Methods
OracleDataSource methods are listed in Table 6-89.
Table 89 OracleDataSource Public Methods
| Method | Description |
|---|---|
| ClearPool | Clears the OracleDataSource associated pool. |
| CreateCommand | Returns an OracleCommand ready to execute against the OracleDataSource |
| CreateConnection | Returns a new, closed database connection represented by the OracleDataSource |
Dispose |
void Dispose() disposes the OracleDataSource and clears the pool associated with it. |
DisposeAsync |
ValueTask DisposeAsync() asynchronously disposes the OracleDataSource and clears the pool associated with it. |
| OpenConnection | Returns a new, open database connection represented by the OracleDataSource |
| OpenConnectionAsync | Asynchronously returns a new, open database connection represented by the OracleDataSource |
OracleDataSource Properties
OracleDataSource properties are listed in Table 6-90.
Table 90 OracleDataSource Properties
| Property | Description |
|---|---|
| ConnectionString | The connection string associated with the OracleDataSource |
| DatabaseCharset | Returns the database character set |
| DatabaseMaxIdentifierLength | Returns the database maximum identifier length |
| DatabaseNCharset | Returns the database national character set |
| DatabaseOpenTelemetryTracing | Enables database OpenTelemetry span instrumentation for ODP.NET public APIs that perform a database round-trip |
| OpenTelemetryTracing | Specifies whether to dynamically enable or disable ODP.NET OpenTelemetry tracing instrumentation at the OracleDataSource level |
| Password | Updates the OracleDataSource password |
| ProxyPassword | Updates the OracleDataSource proxy password |
| RetryCount | Specifies the number of times a TNS ADDRESS list is traversed before the connection attempt times out |
| RetryDelay | Specifies the delay in seconds between subsequent retries for a connection |
OracleDataSource Public Events
OracleDataSource public events are listed in Table 6-91.
Table 91 OracleDataSource Public Events
| Public Events | Description |
|---|---|
ConnectionOpen |
See also |
InfoMessage |
See also |
HAEvent |
See also |
Failover |
See also |
StateChange |
See also |