Datasnap.Provider.TDataSetProvider.LocateRecord
[–] Properties | |
---|---|
Type: procedure function
| |
Visibility: protected | |
Source: Datasnap.Provider.pas Datasnap.Provider.hpp
| |
Unit: Datasnap.Provider | |
Parent: TDataSetProvider |
Delphi
procedure LocateRecord(Source, Delta: TDataSet); override;
C++
virtual void __fastcall LocateRecord(Data::Db::TDataSet* Source, Data::Db::TDataSet* Delta);
Description
Positions a dataset on the record that corresponds to the current update in a specified delta packet.
LocateRecord is called indirectly by the RowRequest method to locate a record before fetching information about it. The Source parameter is the dataset containing current record values. The Delta parameter is a delta packet that identifies the desired type of information and information identifying the desired record.
LocateRecord uses the criteria specified by UpdateMode to identify the desired record.