TransactionMode Enumeration |
Database transaction modes.
Namespace: SQLitePCL.prettyAssembly: SQLitePCL.pretty (in SQLitePCL.pretty.dll) Version: 1.0.0.0 (1.0.0)
Syntax public enum TransactionMode
Members
| Member name | Value | Description |
---|
| Deferred | 0 |
No locks are acquired on the database until the database is first accessed.
|
| Immediate | 1 |
RESERVED locks are acquired on all databases as soon as the BEGIN command is
executed, without waiting for the database to be used.
|
| Exclusive | 2 |
EXCLUSIVE locks acquired on all databases. No other database connection except for read_uncommitted connections
will be able to read the database and no other connection without exception will be able to write the database
until the transaction is complete.
|
See Also