FireDAC.Comp.DataSet.TFDDataSet.CommitUpdates
| [–] Properties | |
|---|---|
| Type: procedure function
| |
| Visibility: public | |
| Source: FireDAC.Comp.DataSet.pas FireDAC.Comp.DataSet.hpp
| |
| Unit: FireDAC.Comp.DataSet | |
| Parent: TFDDataSet | |
Delphi
procedure CommitUpdates;
C++
void __fastcall CommitUpdates();
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.