ODAC

TLockMode Enumeration

Specifies the lock mode.

Unit

DBAccess

Syntax

TLockMode = (lmNone);

Values

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

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