LiteDAC

TLockMode Enumeration

Specifies the lock mode.

Unit

DBAccess

Syntax

TLockMode = (lmNone, lmPessimistic, lmOptimistic);

Values

Value Meaning
lmNone No locking occurs. This mode should only be used in single user applications. The default value.
lmOptimistic Locking occurs when the user posts an edited record, then the lock is released. Locking is done by the RefreshRecord method.
lmPessimistic Locking occurs when the user starts editing a record. The lock is released after the user has posted or canceled the changes.

© 1997-2024 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback