Data.Cloud.AzureAPI.TAzureTableService.UpdateEntity

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

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

プロパティ

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


説明

行を渡されたテーブルを挿入し、行の以前のバージョンがある場合には、それを置き換えます。

UpdateEntity メソッドは、行を渡されたテーブルを挿入し、行の以前のバージョンがある場合には、それを置き換えます。 行には、列 PartitionKey および RowKey がなければなりません。 指定された PartitionKeyRowKey を持つ別の行が、テーブルにすでに存在する場合、それはこの行によって置き換えられ、元の行にあっても新しい行にはない列は失われます。

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

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

Entity パラメータは、挿入する行を示します。

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

関連項目