Data.Cloud.AzureAPI.TAzureTableService.InsertEntity

提供: RAD Studio API Documentation
移動先: 案内検索

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));

プロパティ

種類 可視性 ソース ユニット
function public
Data.Cloud.AzureAPI.pas
Data.Cloud.AzureAPI.hpp
Data.Cloud.AzureAPI TAzureTableService


説明

行を渡されたテーブルに挿入します。

InsertEntity メソッドは、行を渡されたテーブルに挿入します。行には、列 PartitionKey および RowKey がなければなりません。 Timestamp 列がある場合、それは無視されます。同じ PartitionKey および RowKey を持つ別の行が存在する場合、挿入は失敗します(409 - Conflict)。

InsertEntity は、挿入が成功した場合には True を、そうでなければ False を返します。

TableName パラメータは、行を挿入するテーブルの名前を示します。

ResponseInfo パラメータは、レスポンス情報を格納する任意クラスを示します。

関連項目