Data.Cloud.AzureAPI.TAzureTableService.MergeEntity

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function MergeEntity(const TableName: string; Entity: TCloudTableRow;  ResponseInfo: TCloudResponseInfo = nil): Boolean;

C++

bool __fastcall MergeEntity(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, merging with a previous version of the row, if any.

The MergeEntity method inserts a row into the given table, merging with a previous version of the row, if any. The row must have a PartitionKey and RowKey column. If it has a Timestamp column, it will be ignored. If another row already exists in the table with the given PartitionKey and RowKey, it will be merged with the row being specified in this call. The resulting row will be the one specified here, plus any columns not in this row, but existing in the original row.

MergeEntity 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.

See Also