Datasnap.Provider.TPacketDataSet.UpdateKind

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: function
Visibility: public
Source:
Datasnap.Provider.pas
Datasnap.Provider.hpp
Unit: Datasnap.Provider
Parent: TPacketDataSet

Delphi

function UpdateKind: TUpdateKind;

C++

Data::Db::TUpdateKind __fastcall UpdateKind();

Description

Indicates the type of update the current record represents.

Call UpdateKind while applying updates to determine the type of update the current record represents. UpdateKind returns

ukInsert if the current record is a newly inserted record.

ukDelete if the current record represents a record that should be deleted.

ukModify if the current record represents updates to an existing record.