Datasnap.Provider.TBaseProvider.UpdateRecord
Delphi
procedure UpdateRecord(Source, Delta: TDataSet; BlobsOnly, KeyOnly: Boolean); virtual;
C++
virtual void __fastcall UpdateRecord(Data::Db::TDataSet* Source, Data::Db::TDataSet* Delta, bool BlobsOnly, bool KeyOnly);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Datasnap.Provider.pas Datasnap.Provider.hpp |
Datasnap.Provider | TBaseProvider |
Description
Retrieves specified data from a source dataset into a delta packet.
UpdateRecord is called indirectly by the RowRequest method to fetch BLOB fields or nested detail sets. The Source parameter is the dataset containing the BLOB fields or the detail dataset. The Delta parameter is a delta packet that returns the requested data. BlobsOnly indicates whether all field values should be provided (BlobsOnly == false) or only Blob field values (BlobsOnly == true).
As implemented in TBaseProvider, UpdateRecord does nothing. Descendants override this method to fill the Delta parameter with the requested information.