IDAO Methods
The IDAO type exposes the following members.
Methods
Name | Description | |
---|---|---|
BeginTransaction(Boolean) |
Starts a new transaction.
|
|
BeginTransaction()()()() |
Starts a new transaction and creates a persistent connection.
|
|
CommitTransaction(Boolean) |
Commits the current transaction.
|
|
CommitTransaction()()()() |
Commits the current transaction and terminates the persistent connection.
|
|
ExecuteCommand(String, IDataAccessable) |
A method that will execute a stored procedure in the database that will return a result set.
|
|
ExecuteCommand(String, IDataAccessable, String) |
A method that will execute a stored procedure in the database that will return a result set.
|
|
ExecuteNonQuery(String, IDataAccessable) |
a method that will execute a stored procedure in the database that has no result set.
|
|
ExecuteNonQuery(String, IDataAccessable, String) |
a method that will execute a stored procedure in the database that has no result set.
|
|
ExecuteScalar(String, IDataAccessable) |
a method that will execute a stored procedure in the database that has a single cell returned.
|
|
ExecuteScalar(String, IDataAccessable, String) |
a method that will execute a stored procedure in the database that has a single cell returned.
|
|
InitiatePersistentConnection |
Starts a persistent connection to the datebase.
|
|
RollBackTransaction(Boolean) |
RollBack the current transaction
|
|
RollBackTransaction()()()() |
Rollback the current transaction and terminate the persistent connection.
|
|
TerminatePersistentConnection |
Terminates a persistent connection the database. No Transaction can be active.
|