コード例 #1
0
 /// <summary>
 /// Update the entity with specified partition key and row key in table storage
 /// </summary>
 /// <param name="tableName">Name of the table</param>
 /// <param name="instance">the instance to update</param>
 /// <param name="partitionKey">The partition key to use when storing the entity</param>
 /// <param name="rowKey">The row key to use when storing the entity</param>
 /// <param name="conflictHandling">Method for handling ETag conflicts</param>
 public void Update(string tableName, dynamic instance, string partitionKey, string rowKey, ConflictHandling conflictHandling)
 {
     _context.Update(tableName, TableItem.Create(instance, partitionKey, rowKey, _reservedPropertyBehavior), conflictHandling);
 }