Appearance
TransactionIsolation Enum
Enumerates Transaction Isolation levels and serves as a wrapper to System.Transactions.IsolationLevel
Namespace: JASE.Database
Assembly: JASE.Database.dll
Underlying Type int
Fields
| Name | Value | Description |
|---|---|---|
Unspecified | -1 | A different isolation level than the one specified is being used, but the level cannot be determined. An exception is thrown if this value is set. |
Chaos | 16 | The pending changes from more highly isolated transactions cannot be overwritten |
ReadUncommitted | 256 | Volatile data can be read and modified during the transaction. |
ReadCommitted | 4096 | Volatile data cannot be read during the transaction, but can be modified. |
RepeatableRead | 65536 | Volatile data can be read but not modified during the transaction. New data can be added during the transaction. |
Serializable | 1048576 | Volatile data can be read but not modified, and no new data can be added during the transaction. |
Snapshot | 16777216 | Volatile data can be read. Before a transaction modifies data, it verifies if another transaction has changed the data after it was initially read. If the data has been updated, an error is raised. This allows a transaction to get to the previously committed value of the data. |