TsgcWSPServer_DatasetProperties › ApplyUpdates

ApplyUpdates Property

Apply client-originated insert, update and delete messages to the server dataset.

Syntax

property ApplyUpdates: Boolean read FApplyUpdates write FApplyUpdates;

Default Value

Remarks

When True (the default), incoming dataset messages are parsed and applied to the DataSet through the OnBefore/OnAfter record events and the selected UpdateMode; the server then rebroadcasts the change to peer clients. Set it to False when the server acts as a read-only publisher so that client-side edits never reach the database.

Example

oProtocol.ApplyUpdates := False;

Back to Properties