OpenConnectionAsync
This method asynchronously returns a new, open database connection represented by the OracleDataSource
.
Declaration
// C# public ValueTask<OracleConnection> OpenConnectionAsync(CancellationToken cancellationToken)
Parameters
-
cancellationToken
A token to cancel the asynchronous operation
Return Value
An open OracleConnection
that is represented by the OracleDataSource
.
Remarks
It is the caller's responsibility to dispose connections obtained through this method.