Skip to content

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 ​

NameValueDescription
Unspecified-1A 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.
Chaos16The pending changes from more highly isolated transactions cannot be overwritten
ReadUncommitted256Volatile data can be read and modified during the transaction.
ReadCommitted4096Volatile data cannot be read during the transaction, but can be modified.
RepeatableRead65536Volatile data can be read but not modified during the transaction. New data can be added during the transaction.
Serializable1048576Volatile data can be read but not modified, and no new data can be added during the transaction.
Snapshot16777216Volatile 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.