![]() |
DeveelDB
20151217
complete SQL database system, primarly developed for .NET/Mono frameworks
|
The system implementation of a transaction model that handles isolated operations within a database context. More...
Classes | |
| class | OldAndNewTableContainer |
| class | TransactionTableContainer |
Public Member Functions | |
| void | SetTableState (OldNewTableState tableState) |
| void | Commit () |
| Commits all write operation done during the lifetime of this transaction and invalidates it. More... | |
| void | RegisterOnCommit (Action< TableCommitInfo > action) |
| void | UnregisterOnCommit (Action< TableCommitInfo > action) |
| void | Rollback () |
| Rollback any write operations done during the lifetime of this transaction and invalidates it. More... | |
| void | Dispose () |
Package Functions | |
| Transaction (ITransactionContext context, Database database, int commitId, IsolationLevel isolation, IEnumerable< TableSource > committedTables, IEnumerable< IIndexSet > indexSets) | |
| Transaction (ITransactionContext context, Database database, int commitId, IsolationLevel isolation) | |
Properties | |
| int | CommitId [get, private set] |
| IsolationLevel | Isolation [get, private set] |
| bool | IsClosed [get, set] |
| OldNewTableState | TableState [get, private set] |
| ITransactionContext | Context [get, private set] |
| IDatabase ITransaction. | Database [get] |
| Database | Database [get, private set] |
| IEventSource IEventSource. | ParentSource [get] |
| IEnumerable< KeyValuePair< string, object > > IEventSource. | Metadata [get] |
| IContext IEventSource. | Context [get] |
| IDatabaseContext | DatabaseContext [get] |
| TableSourceComposite | TableComposite [get] |
| SequenceManager | SequenceManager [get] |
| ViewManager | ViewManager [get] |
| TriggerManager | TriggerManager [get] |
| TransactionRegistry | Registry [get, private set] |
| TableManager | TableManager [get] |
Properties inherited from Deveel.Data.Transactions.ITransaction | |
| new ITransactionContext | Context [get] |
| int | CommitId [get] |
| Gets a number uniquely identifying a transaction within a database context. More... | |
| IsolationLevel | Isolation [get] |
| Gets the isolation level of the transaction. More... | |
| IDatabase | Database [get] |
| Gets the database this transaction belongs to. More... | |
| TransactionRegistry | Registry [get] |
Properties inherited from Deveel.Data.Diagnostics.IEventSource | |
| IContext | Context [get] |
| IEventSource | ParentSource [get] |
| Gets an optional parent source. More... | |
| IEnumerable< KeyValuePair< string, object > > | Metadata [get] |
| Gets the list of metadata associated to the source. More... | |
Properties inherited from Deveel.Data.Sql.Triggers.ITableStateHandler | |
| OldNewTableState | TableState [get] |
| Gets an object that olds the state before and after a table event. More... | |
Private Member Functions | |
| ~Transaction () | |
| void | AddInternalTables () |
| void | AssertNotReadOnly () |
| void | Finish () |
| void | Dispose (bool disposing) |
| void ICallbackHandler. | OnCallbackAttached (TableCommitCallback callback) |
| void ICallbackHandler. | OnCallbackDetached (TableCommitCallback callback) |
Static Private Member Functions | |
| static | Transaction () |
Private Attributes | |
| List< TableCommitCallback > | callbacks |
| Action< TableCommitInfo > | commitActions |
| readonly bool | dbReadOnly |
Static Private Attributes | |
| static readonly TableInfo[] | IntTableInfo |
The system implementation of a transaction model that handles isolated operations within a database context.
Definition at line 35 of file Transaction.cs.
|
inlinepackage |
Definition at line 44 of file Transaction.cs.
|
inlinepackage |
Definition at line 70 of file Transaction.cs.
|
inlineprivate |
Definition at line 74 of file Transaction.cs.
|
inlinestaticprivate |
Definition at line 78 of file Transaction.cs.
|
inlineprivate |
Definition at line 155 of file Transaction.cs.
|
inlineprivate |
Definition at line 174 of file Transaction.cs.
|
inline |
Commits all write operation done during the lifetime of this transaction and invalidates it.
When a transaction is disposed without explicitly calling Commit, all the operations are implicitly rolled-back.
Implements Deveel.Data.Transactions.ITransaction.
Definition at line 179 of file Transaction.cs.
|
inline |
Definition at line 251 of file Transaction.cs.
|
inlineprivate |
Definition at line 256 of file Transaction.cs.
|
inlineprivate |
Definition at line 208 of file Transaction.cs.
|
inlineprivate |
Implements Deveel.Data.Transactions.ICallbackHandler.
Definition at line 655 of file Transaction.cs.
|
inlineprivate |
Implements Deveel.Data.Transactions.ICallbackHandler.
Definition at line 662 of file Transaction.cs.
|
inline |
Implements Deveel.Data.Transactions.ITransaction.
Definition at line 194 of file Transaction.cs.
|
inline |
Rollback any write operations done during the lifetime of this transaction and invalidates it.
When a transaction is disposed without explicitly calling Commit, all the operations are implicitly rolled-back.
Implements Deveel.Data.Transactions.ITransaction.
Definition at line 239 of file Transaction.cs.
|
inline |
Implements Deveel.Data.Sql.Triggers.ITableStateHandler.
Definition at line 101 of file Transaction.cs.
|
inline |
Implements Deveel.Data.Transactions.ITransaction.
Definition at line 202 of file Transaction.cs.
|
private |
Definition at line 36 of file Transaction.cs.
|
private |
Definition at line 38 of file Transaction.cs.
|
private |
Definition at line 42 of file Transaction.cs.
|
staticprivate |
Definition at line 40 of file Transaction.cs.
|
getprivate set |
Definition at line 91 of file Transaction.cs.
|
getprivate set |
Definition at line 99 of file Transaction.cs.
|
getprivate |
Definition at line 125 of file Transaction.cs.
|
getprivate |
Definition at line 105 of file Transaction.cs.
|
getprivate set |
Definition at line 109 of file Transaction.cs.
|
get |
Definition at line 129 of file Transaction.cs.
|
getsetprivate |
Definition at line 95 of file Transaction.cs.
|
getprivate set |
Definition at line 93 of file Transaction.cs.
|
getprivate |
Definition at line 115 of file Transaction.cs.
|
getprivate |
Definition at line 111 of file Transaction.cs.
|
getprivate set |
Definition at line 149 of file Transaction.cs.
|
getprivate |
Definition at line 137 of file Transaction.cs.
|
getprivate |
Definition at line 133 of file Transaction.cs.
|
getprivate |
Definition at line 151 of file Transaction.cs.
|
getprivate set |
Definition at line 97 of file Transaction.cs.
|
getprivate |
Definition at line 145 of file Transaction.cs.
|
getprivate |
Definition at line 141 of file Transaction.cs.
1.8.10