TsgcWSPClient_Dataset › Properties › UpdateMode
UpdateMode Property
Selects which fields are sent on update: all, changed, or full refresh.
Syntax
property UpdateMode: TwsDatasetUpdateMode read FUpdateMode write FUpdateMode;
Default Value
—
Remarks
Controls the payload sent to the server when a row is updated:
- upWhereAll (default) — every field of the row is transmitted, letting the server use any field for optimistic concurrency.
- upWhereChanged — only fields that have actually changed are transmitted, which reduces bandwidth but requires the server to match rows by key fields only.
- upRefreshAll — after sending the update, the client requests a full refresh of the DataSet so any server-side changes are pulled back.
Example
oProtocol.UpdateMode := upWhereChanged;
Back to Properties