FireDAC.Stan.Option.TFDUpdateOptions.AutoCommitUpdates
Delphi
property AutoCommitUpdates: Boolean read GetAutoCommitUpdates write SetAutoCommitUpdates stored IsACUS default False;
C++
__property bool AutoCommitUpdates = {read=GetAutoCommitUpdates, write=SetAutoCommitUpdates, stored=IsACUS, default=0};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | published | FireDAC.Stan.Option.pas FireDAC.Stan.Option.hpp |
FireDAC.Stan.Option | TFDUpdateOptions |
Description
AutoCommitUpdates controls the automatic committing of cached updates.
Specifies whether the automatic committing of updates is enabled or disabled.
- If AutoCommitUpdates is True, then all the successfully updated records applied by the call to ApplyUpdates are automatically marked as unchanged. You do not need to explicitly call CommitUpdates.
- If AutoCommitUpdates is False, then your application must explicitly call CommitUpdates to mark all changed records as unchanged.