Method | Description | |
---|---|---|
BeginTransaction ( ) : IDbTransaction |
Begins a database transaction.
|
|
BeginTransaction ( IsolationLevel il ) : IDbTransaction |
Begins a database transaction with the specified T:System.Data.IsolationLevel value.
|
|
ChangeDatabase ( string databaseName ) : void |
Changes the current database for an open Connection object.
|
|
Close ( ) : void |
Closes the connection to the database.
|
|
CreateCommand ( ) : IDbCommand |
Creates and returns a Command object associated with the connection.
|
|
Dispose ( ) : void |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
|
|
ManagedConnection ( IDbConnection connection ) : System |
Wrap an IDbConnection object with the managed availablility wrapper.
|
|
Open ( ) : void |
Opens a database connection with the settings specified by the ConnectionString property of the provider-specific Connection object.
|
public BeginTransaction ( IsolationLevel il ) : IDbTransaction | ||
il | IsolationLevel | One of the |
return | IDbTransaction |
public ChangeDatabase ( string databaseName ) : void | ||
databaseName | string | The name of the database to use in place of the current database. |
return | void |
public ManagedConnection ( IDbConnection connection ) : System | ||
connection | IDbConnection | The |
return | System |