DSAzure.TAzureTableService.UpdateEntity

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: function
Visibility: public
Source:
DSAzure.pas
DSAzure.hpp
Unit: DSAzure
Parent: TAzureTableService

Delphi

function UpdateEntity(const TableName: String; entity: TJSONObject): boolean;

C++

bool __fastcall UpdateEntity(const System::UnicodeString TableName, System::Json::TJSONObject* entity);

Description

Replaces a row in a given table with a new row definition.

UpdateEntity is similar to MergeEntity in that both provide a TJSONObject definition of a row, and apply that to a preexisting row that matches the PartitionKey and RowKey stored in the entity. The difference is that UpdateEntity completely replaces the previous row definition, so any columns previously existing that are not in the entity being set in this function call are removed.

See Also