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