Exemple #1
0
        public async Task <IIndexInformation> GetAsync(string id)
        {
            var partitionKey = IndexInformationTableEntity.GeneratePartitionKey();
            var rowKey       = IndexInformationTableEntity.GenerateRowKey(id);

            return(await _dbTable.GetAsync(partitionKey, rowKey));
        }
Exemple #2
0
 public async ValueTask UpdateAsync(IIndexInformation data)
 {
     var newEntity = IndexInformationTableEntity.Create(data);
     await _dbTable.InsertOrReplaceAsync(newEntity);
 }