AbstractDataConnection Methods |
The AbstractDataConnection type exposes the following members.
Name | Description | |
---|---|---|
AddParameters |
Adds the given parameters to the SQL command
| |
BeginTransaction |
Begins a new transaction.
| |
BeginTransaction(IsolationLevel) |
Begins a new transaction.
| |
BulkInsert |
Performs a bulk insert of the data into a target database table
| |
Close |
Closes connection to the database.
| |
CommitTransaction |
Commits current transaction.
| |
CreateCommand |
Creates a new SQL command
| |
CreateDataAdapter |
Creates a data adapter
| |
CreateNativeConnection |
Creates a new native connection
| |
CreateParameter(DataParameter) |
Creates a SQL parameter from the given data parameter
| |
CreateParameter(String, Object) |
Creates a new command parameter
| |
Dispose |
Disposes the connection object.
| |
ExecuteNonQuery |
Returns result of the query.
| |
ExecuteQuery |
Returns result of the query.
| |
ExecuteReader |
Returns result of the query as a Data reader. Keeps the connection open.
| |
ExecuteScalar |
Returns a single value result of the query.
| |
GetExecutingConnection |
Gets the connection that executes the given query
| |
GetNestedConnection |
Gets the nested connection with the given connection string
| |
GetXmlSchema |
Returns XML schema for specified table.
| |
HandleDbError |
Handles the database error. Returns false, if the error was not handled
| |
HandleError |
Handles the error. Returns false, if the error was not handled
| |
CheckThreadSafety |
Checks the thread safety of current operation.
| |
IsOpen |
Returns true if connection to the database is open.
| |
IsTransaction |
Indicates if transaction is running.
| |
LoadDefaultConnectionString |
Loads the default connection string
| |
LogConnectionOperation |
Logs the connection operation to the query log.
| |
NativeConnectionExists |
Returns true if the native connection exists.
| |
NativeDBConnectionExists |
Returns true if the native connection exists.
| |
Open |
Opens connection to the database.
| |
PrepareCommand |
Prepares the SQL command for the query.
| |
RollbackTransaction |
Rollbacks current transaction.
| |
SetParameterType |
Sets the parameter type to a destination type
| |
ValidateTransaction |
Validates the transaction
|