The following tables list the members exposed by the IDatabase type.

Name Description
Public method AddEntityParameters(IDBCommand, EntityID) Add some entity id as a set of parameters
Public method AddInfoMessageEventHandler(SqlInfoMessageEventHandler) Capture messages while SQL execution is in progress
Public method AllowIdentityInsert(string) Allow an identity insert for the life of the identity object
Public method Close() Close the connection
Public method CommitChanges() Commit any changes to the database - use with care
Public method CreateCommand(string) Create a command - which uses a transaction
Public method CreateInsertAdapter(IDBCommand) Create an insert adapter
Public method CreateSelectAdapter(IDBCommand) Create a select data adapter
Public method ExportToCESQL(string) Export to a ce file
Public method GetLastInsertedID(string) Get the last inserted id in a given table - this may not work on all Database providers
Public method OnCommit(bool)
Public method OnRollback()
Public method RegisterOnCommitHandler(Action<GuidBoolean>)
Public method RegisterOnRollbackHandler(Action<Guid>)
Public method RollbackChanges() Rollback any changes in the database - use with care
Public method StartNewTransaction() Start a new transaction (will auto rollback if a transaction exists)
Top