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));
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
function | public | Data.Cloud.AzureAPI.pas Data.Cloud.AzureAPI.hpp |
Data.Cloud.AzureAPI | TAzureTableService |
説明
行を渡されたテーブルを挿入し、行の以前のバージョンがある場合には、それを置き換えます。
UpdateEntity メソッドは、行を渡されたテーブルを挿入し、行の以前のバージョンがある場合には、それを置き換えます。 行には、列 PartitionKey
および RowKey
がなければなりません。 指定された PartitionKey
と RowKey
を持つ別の行が、テーブルにすでに存在する場合、それはこの行によって置き換えられ、元の行にあっても新しい行にはない列は失われます。
UpdateEntity は、挿入が成功した場合には True を、そうでなければ False を返します。
TableName
パラメータは、行を挿入するテーブルの名前を示します。
Entity
パラメータは、挿入する行を示します。
ResponseInfo
パラメータは、レスポンス情報を格納する任意クラスを示します。