MyDAC

TLockMode Enumeration

This enumeration defines a type of an editing record locking.

Unit

DBAccess

Syntax

TLockMode = (lmNone, lmPessimistic, lmOptimistic);

Values

Value Meaning
lmNone No locking is performed. This should only be used in single user applications. The default value.
lmOptimistic Locking is performed when user posts an edited record. After this the lock is released. Locking is performed by the RefreshRecord method.
lmPessimistic Locking is performed when the user starts editing a record. The lock remains until the user posts or cancels the changes.

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