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 AutoCommitUpdatesAutoCommitUpdates 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. This behavior is similar to the behavior of ApplyUpdates.
- If AutoCommitUpdatesAutoCommitUpdates is False, then your application must explicitly call ApplyUpdates to mark all changed records as unchanged. This behavior is similar to the pertinent ApplyUpdates methods in BDE data access components such as TDatabase or TTable.