AdvantageCMS.Core.Common.BaseClasses Namespace
Advantage CSP

IDAO Methods

The IDAO type exposes the following members.

Methods


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