Data.Cloud.AzureAPI.TAzureTableService.InsertEntity
Delphi
function InsertEntity(const TableName: string; Entity: TCloudTableRow; ResponseInfo: TCloudResponseInfo = nil): Boolean;
C++
bool __fastcall InsertEntity(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.
The InsertEntity method inserts a row into the given table. The row must have a PartitionKey
and RowKey
column. If it has a Timestamp
column, it will be ignored. Insert fails (409 - Conflict) if another row with the same PartitionKey
and RowKey
exists.
InsertEntity 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 ResponseInfo
parameter specifies the optional class where to store response info.