FireDAC.Comp.DataSet.TFDDataSet.CommitUpdates
Delphi
procedure CommitUpdates;
C++
void __fastcall CommitUpdates();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | FireDAC.Comp.DataSet.pas FireDAC.Comp.DataSet.hpp |
FireDAC.Comp.DataSet | TFDDataSet |
Description
Clears the changes log and marks all records as not modified.
Call CommitUpdates to clear the dataset changes log. This call works when CachedUpdates is set to True, after a successful call of both ApplyUpdates and of the Commit method of a database component. Marks all dataset record as unchanged.
Applications that use the ApplyUpdates method of a connection component to apply and commit pending updates for all datasets associated with the database component do not need to call CommitUpdates.