FireDAC.Stan.Option.TFDUpdateOptions.LockPoint
Delphi
property LockPoint: TFDLockPoint read GetLockPoint write SetLockPoint
C++
__property TFDLockPoint LockPoint = {read=GetLockPoint, write=SetLockPoint, stored=IsLPS, default=1};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | published | FireDAC.Stan.Option.pas FireDAC.Stan.Option.hpp |
FireDAC.Stan.Option | TFDUpdateOptions |
Description
Controls the moment when the database record will be locked.
Use LockPoint to specify the moment when the changed database record will be locked in the database and marked in the internal data storage as locked.
The default value is lpDeferred
.
The value can be one of the following:
Mode |
Description |
---|---|
|
Lock record right after starting record editing or deleting. |
|
Lock record right before posting updates to the database. |
FireDAC locks the record if LockMode is not a lmNone
.