Method | Description | |
---|---|---|
Commit ( |
Commit the transaction for the database specified.
|
|
DestroyConnection ( |
Destroy any connection and reset all the transactions on the specified database.
|
|
GetAdapter ( ) : IDbDataAdapter |
Create a new instance of the System.Data.SqlClient.SqlDataAdapter class.
|
|
GetCommand ( |
Provides information about SQL command generated by the connection of System.Data.IDbConnection and query of IAdfQuery.
|
|
GetConnection ( |
Specifies the connection from the connection list or create a new connection if it is not yet defined.
|
|
GetTransaction ( |
Get a transaction object from the transactions list. If none present a null value will be returned.
|
|
HandleException ( |
Handles exceptions thrown when excequring queries.
|
|
ResetTransaction ( |
Reset all database transaction for the specified database.
|
|
Rollback ( |
Rolls back a transaction from a pending state.
|
|
SetTransaction ( |
Add a transaction for a specific database to the transactions list.
|
|
SetUpAdapter ( |
Provides information to setup the data adapter by the connection of System.Data.IDbConnection.
|
|
StartTransaction ( |
Provides information to start a transaction to be performed at a data source.
|
|
Update ( IDbDataAdapter adapter ) : int |
Updates the selected rows from the dataset.
|
Method | Description | |
---|---|---|
CreateConnection ( |
Creates a new SQL Server database connection based on the connection string specified in the data source.
|
|
SetConnection ( |
Adds a connection to the connection list.
|
Method | Description | |
---|---|---|
GetWhereParameters ( IAdfQuery query ) : IEnumerable |
Returns the Where clauses of the given IAdfQuery and the possible contained sub-queries.
|
public Commit ( |
||
source | The |
|
return | void |
protected static CreateConnection ( |
||
source | The data source containing the connection string. | |
return | IDbConnection |
public DestroyConnection ( |
||
source | The |
|
return | void |
public GetCommand ( |
||
datasource | ||
connection | IDbConnection | The |
query | IAdfQuery | The |
return | IDbCommand |
public GetConnection ( |
||
source | The |
|
return | IDbConnection |
public GetTransaction ( |
||
source | The |
|
return | IDbTransaction |
public HandleException ( |
||
exception | ||
datasource | ||
query | IAdfQuery | |
return | void |
public static ResetTransaction ( |
||
source | The |
|
return | void |
public Rollback ( |
||
source | The |
|
return | void |
protected static SetConnection ( |
||
dataSource | The data source that is used to indicate the connection. | |
connection | IDbConnection | The connection to set. |
return | void |
public static SetTransaction ( |
||
source | The |
|
transaction | IDbTransaction | The |
return | void |
public SetUpAdapter ( |
||
datasource | ||
connection | IDbConnection | The |
query | IAdfQuery | The |
return | IDbDataAdapter |
public StartTransaction ( |
||
source | The |
|
return | IDbTransaction |
public Update ( IDbDataAdapter adapter ) : int | ||
adapter | IDbDataAdapter | The dataadapter to use. |
return | int |