Пример #1
0
 /// <summary>
 /// Insert or replace the instance with specified partition key and row key
 /// </summary>
 /// <param name="tableName">Name of the table</param>
 /// <param name="instance">the instance to store</param>
 /// <param name="partitionKey">The partition key to use when storing or replacing the entity</param>
 /// <param name="rowKey">The row key to use when storing or replacing the entity</param>
 public void Upsert(string tableName, dynamic instance, string partitionKey, string rowKey)
 {
     _context.Upsert(tableName, TableItem.Create(instance, partitionKey, rowKey, _reservedPropertyBehavior));
 }