Assembly: System.Data (in System.Data.dll)
Starts a transaction at the data source.
Starts a transaction at the data source with the specified IsolationLevel value.
Closes the connection to the data source. (Overrides DbConnection.Close().)
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.(Inherited from MarshalByRefObject.)
Enlists in the specified transaction as a distributed transaction.
Enlists in the specified transaction as a distributed transaction.(Overrides DbConnection.EnlistTransaction(Transaction).)
Determines whether the specified object is equal to the current object.(Inherited from Object.)
Serves as the default hash function. (Inherited from Object.)
Retrieves the current lifetime service object that controls the lifetime policy for this instance.(Inherited from MarshalByRefObject.)
Obtains a lifetime service object to control the lifetime policy for this instance.(Inherited from MarshalByRefObject.)
This is the asynchronous version of Open. Providers should override with an appropriate implementation. The cancellation token can optionally be honored.
The default implementation invokes the synchronous Open call and returns a completed task. The default implementation will return a cancelled task if passed an already cancelled cancellationToken. Exceptions thrown by Open will be communicated via the returned Task Exception property.
Do not invoke other methods and properties of the DbConnection object until the returned Task is complete.(Inherited from DbConnection.)
Indicates that the ODBC Driver Manager environment handle can be released when the last underlying connection is released.
Begins a database transaction.(Inherited from DbConnection.)
For a description of this member, see ICloneable.Clone.