Datasnap.Provider.TBaseProvider.UpdateRecord

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
procedure
function
Visibility: protected
Source:
Datasnap.Provider.pas
Datasnap.Provider.hpp
Unit: Datasnap.Provider
Parent: TBaseProvider

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);

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.

See Also