This documentation is archived and is not being maintained.

IDbConnection Methods

The IDbConnection type exposes the following members.

Public method BeginTransaction() Begins a database transaction.
Public method BeginTransaction(IsolationLevel) Begins a database transaction with the specified IsolationLevel value.
Public method ChangeDatabase Changes the current database for an open Connection object.
Public method Close Closes the connection to the database.
Public method CreateCommand Creates and returns a Command object associated with the connection.
Public method Dispose Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable.)
Public method Open Opens a database connection with the settings specified by the ConnectionString property of the provider-specific Connection object.