Ejemplo n.º 1
0
      public static async Task<T> ExecuteAsync<T>(this CloudTable table, ITableEntity entity, EntityOperationConverter converter)
         where T : class, ITableEntity
      {
         var operation = converter(entity.ToPessimisticConcurrency());
         var execution = await table.ExecuteAsync(operation);

         return execution.Result as T;
      }