TsgcWSPClient_DatasetProperties › ApplyUpdates

ApplyUpdates Property

Apply Dataset changes received from the server to the local Dataset.

Syntax

property ApplyUpdates: Boolean read FApplyUpdates write FApplyUpdates;

Default Value

Remarks

When True (default), every new/update/delete message received from the server is applied to the attached DataSet so the local copy mirrors server state. Set to False if you only want to inspect incoming payloads through the OnBeforeNewRecord / OnBeforeUpdateRecord / OnBeforeDeleteRecord events without mutating the local DataSet.

Example

oProtocol.ApplyUpdates := True;

Back to Properties