DSAzure.TAzureTableService.UpdateEntity

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

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

C++

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

Properties

Type Visibility Source Unit Parent
function public
DSAzure.pas
DSAzure.hpp
DSAzure TAzureTableService

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