TsgcWSPClient_Dataset › Properties › DataSet
TDataSet instance that the component keeps in sync with the server.
property DataSet: TDataSet read FDataSet write SetDataSet;
—
Assign any TDataSet descendant (TFDMemTable, TClientDataSet, TFDQuery, etc.) that the component will replicate. On assignment the component hooks BeforePost, BeforeDelete, AfterPost, OnNewRecord, AfterEdit and AfterCancel so that local changes are serialized as Dataset messages and sent to the server when NotifyUpdates is True. Incoming new/update/delete messages are applied back to this Dataset when ApplyUpdates is True.
oProtocol.DataSet := FDMemTable1;
FDMemTable1.Open;