Datasnap.DBClient.TCustomClientDataSet.MergeChangeLog

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
procedure
function
Visibility: public
Source:
Datasnap.DBClient.pas
Datasnap.DBClient.hpp
Unit: Datasnap.DBClient
Parent: TCustomClientDataSet

Delphi

procedure MergeChangeLog;

C++

void __fastcall MergeChangeLog();

Description

Merges any data changes in the change log into the client dataset, overwriting existing values.

Call MergeChangeLog to merge changes in the change log into the actual data for the dataset, effectively creating a new data baseline. Existing values for which changes exist are overwritten.

Note: This method is seldom called explicitly when using a provider because is called automatically by ApplyUpdates as part of the updating process. In file-based applications, MergeChangeLog must be called explicitly if LogChanges is True.

See Also