Method | Description | |
---|---|---|
BeginSqlFuTransaction ( IsolationLevel isolationLevel = null ) : |
||
ChangeDatabase ( string databaseName ) : void |
Changes the current database for an open connection.
|
|
Close ( ) : void |
Closes the connection to the database. This is the preferred method of closing any open connection.
|
|
Open ( ) : void |
Opens a database connection with the settings specified by the P:System.Data.Common.DbConnection.ConnectionString.
|
|
SqlFuConnection ( |
||
SqlFuConnection ( IDbProvider provider, string cnxString ) : System |
Method | Description | |
---|---|---|
BeginDbTransaction ( IsolationLevel isolationLevel ) : |
Starts a database transaction.
|
|
CreateDbCommand ( ) : |
Creates and returns a T:System.Data.Common.DbCommand object associated with the current connection.
|
|
Dispose ( bool disposing ) : void |
Method | Description | |
---|---|---|
Commit ( ) : void | ||
EnsureTransaction ( ) : void | ||
Init ( string cnxString, IDbProvider provider ) : void | ||
Rollback ( ) : void |
protected BeginDbTransaction ( IsolationLevel isolationLevel ) : |
||
isolationLevel | IsolationLevel | Specifies the isolation level for the transaction. |
return |
public BeginSqlFuTransaction ( IsolationLevel isolationLevel = null ) : |
||
isolationLevel | IsolationLevel | |
return |
public ChangeDatabase ( string databaseName ) : void | ||
databaseName | string | Specifies the name of the database for the connection to use. |
return | void |
protected CreateDbCommand ( ) : |
||
return |
public SqlFuConnection ( |
||
cnx | ||
provider | IDbProvider | |
return | System |
public SqlFuConnection ( IDbProvider provider, string cnxString ) : System | ||
provider | IDbProvider | |
cnxString | string | |
return | System |