DeveelDB  20151217
complete SQL database system, primarly developed for .NET/Mono frameworks
Classes | Enumerations
Deveel.Data.Transactions Namespace Reference

Classes

interface  ICallbackHandler
 
interface  ILockable
 
interface  ITableEvent
 Defines a transaction event whose object is a database table identified. More...
 
interface  ITransaction
 The simplest implementation of a transaction. More...
 
interface  ITransactionContext
 
interface  ITransactionEvent
 An event that happens within a ITransaction life-cycle. More...
 
interface  ITransactionFactory
 Defines the required features to factory transactions within a relational system. More...
 
class  Lock
 
class  Locker
 
class  LockHandle
 
class  LockingQueue
 
class  ObjectCreatedEvent
 An event fired when a database object of the given type is created during the lifetime of a transaction. More...
 
class  ObjectDroppedEvent
 
class  TableAccessEvent
 A table was accessed during the transaction. More...
 
class  TableCommitCallback
 
class  TableCommitEvent
 
class  TableCommitInfo
 
class  TableConstraintAlteredEvent
 A transaction event that caused the alteration of a constraints in the table given. More...
 
class  TableCreatedEvent
 A new table was created during a transaction. More...
 
class  TableDroppedEvent
 
class  TableRowEvent
 
class  Transaction
 The system implementation of a transaction model that handles isolated operations within a database context. More...
 
class  TransactionCollection
 
class  TransactionConstraintExtensions
 
class  TransactionContext
 
class  TransactionContextExtensions
 
class  TransactionErrorCodes
 
class  TransactionEvent
 
class  TransactionException
 
class  TransactionExtensions
 Provides some convenience extension methods to ITransaction instances. More...
 
class  TransactionObjectState
 
class  TransactionRegistry
 
class  TransactionSettingKeys
 
class  TransactionTable
 
class  TransactionWork
 

Enumerations

enum  AccessType { AccessType.Read = 1, AccessType.Write = 2, AccessType.ReadWrite = Read | Write }
 
enum  IsolationLevel {
  IsolationLevel.Unspecified = 0, IsolationLevel.Serializable = 1, IsolationLevel.ReadCommitted = 2, IsolationLevel.ReadUncommitted = 3,
  IsolationLevel.Snapshot = 4
}
 
enum  LockingMode { LockingMode.None = 0, LockingMode.Exclusive = 1, LockingMode.Shared = 2 }
 The mode applied to a lock over a resource during a transaction. More...
 
enum  TableRowEventType { TableRowEventType.Add = 1, TableRowEventType.Remove = 2, TableRowEventType.UpdateAdd = 3, TableRowEventType.UpdateRemove = 4 }
 The kind of events that can happen on a table row during the life-time of a transaction. More...
 
enum  TransactionEventType { TransactionEventType.Begin = 1, TransactionEventType.Commit = 2, TransactionEventType.Rollback = 3 }
 

Enumeration Type Documentation

Enumerator
Read 
Write 
ReadWrite 

Definition at line 21 of file AccessType.cs.

The mode applied to a lock over a resource during a transaction.

Enumerator
None 

No specific locking was applied to the resource

Exclusive 

An exclusive lock was applied to the resource: this can be accessed only by the transaction that owns the lock or by child transactions.

Shared 

A lock that is shared between transactions, allowing read of data on locked objects, but preventing any write.

Definition at line 24 of file LockingMode.cs.

24  {
28  None = 0,
29 
35  Exclusive = 1,
36 
41  Shared = 2
42  }
An exclusive lock was applied to the resource: this can be accessed only by the transaction that owns...
A lock that is shared between transactions, allowing read of data on locked objects, but preventing any write.

The kind of events that can happen on a table row during the life-time of a transaction.

Enumerator
Add 

A new row was added to the table.

Remove 

A row was removed from a table.

UpdateAdd 

During an update of values of a row, this was added again to a table.

UpdateRemove 

During an update of values of a row, this was removed before the value are update.

Definition at line 24 of file TableRowEventType.cs.

24  {
28  Add = 1,
29 
33  Remove = 2,
34 
39  UpdateAdd = 3,
40 
45  UpdateRemove = 4,
46  }
During an update of values of a row, this was removed before the value are update.
During an update of values of a row, this was added again to a table.