예제 #1
0
 public virtual void UpdateEntity <T>(T entity, ETag ifMatch, TableUpdateMode mode = TableUpdateMode.Merge) where T : class, ITableEntity, new()
 {
     _batchOperations.AddUpdateEntityRequest(
         _changeset,
         _table,
         entity.PartitionKey,
         entity.RowKey,
         null,
         null,
         ifMatch.ToString(),
         tableEntityProperties: entity.ToOdataAnnotatedDictionary(),
         queryOptions: new QueryOptions()
     {
         Format = _format
     });
 }