Data.Cloud.AzureAPI.TAzureTableService.UpdateEntity
Delphi
function UpdateEntity(const TableName: string; Entity: TCloudTableRow;
ResponseInfo: TCloudResponseInfo = nil): Boolean;
C++
bool __fastcall UpdateEntity(const System::UnicodeString TableName, Data::Cloud::Cloudapi::TCloudTableRow* Entity, Data::Cloud::Cloudapi::TCloudResponseInfo* ResponseInfo = (Data::Cloud::Cloudapi::TCloudResponseInfo*)(0x0));
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| function | public | Data.Cloud.AzureAPI.pas Data.Cloud.AzureAPI.hpp |
Data.Cloud.AzureAPI | TAzureTableService |
Description
Inserts a row into the given table, replacing a previous version of the row, if any.
The UpdateEntity method inserts a row into the given table, replacing a previous version of the row, if any. The row must have a PartitionKey and RowKey column. If another row already exists in the table with the given PartitionKey and RowKey, it will be replaced by this row, losing any columns the original row had but this new one does not.
UpdateEntity returns True if the insertion was a success, False otherwise.
The TableName parameter specifies the name of the table to insert the row into.
The Entity parameter specifies the row to insert.
The ResponseInfo parameter specifies the optional class where to store response info.