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