Datasnap.Provider.TPacketDataSet.UpdateKind

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function UpdateKind: TUpdateKind;

C++

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

Properties

Type Visibility Source Unit Parent
function public
Datasnap.Provider.pas
Datasnap.Provider.hpp
Datasnap.Provider TPacketDataSet

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.