If true, this transaction will execute with snapshot isolation.

Namespace:  BerkeleyDB
Assembly:  libdb_dotnet52 (in libdb_dotnet52.dll) Version:


public bool Snapshot
Visual Basic (Declaration)
Public Snapshot As Boolean
Visual C++
bool Snapshot


For databases with UseMVCC set, data values will be read as they are when the transaction begins, without taking read locks. Silently ignored for operations on databases with UseMVCC not set on the underlying database (read locks are acquired).

A DeadlockException will be thrown from update operations if a snapshot transaction attempts to update data which was modified after the snapshot transaction read it.

See Also