RAD Studio VCL Reference
|
Specifies the lock type to use when opening a dataset.
property LockType: TADOLockType;
__property TADOLockType LockType;
Use LockType to specify the lock type to use when opening a dataset. LockType determines whether the row locking scheme for a recordset will be pessimistic, optimistic, or read-only. To be effective, LockType must be set prior to activating the ADO dataset component.
The default value of LockType is ltOptimistic.
Use the LockType ltBatchOptimistic to open a dataset in batch update mode.
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|