示例#1
0
 public async Task DeleteIfExist(Guid[] operationIds)
 {
     foreach (var operationId in operationIds)
     {
         await _storage.DeleteIfExistAsync(UnconfirmedTransactionEntity.GeneratePartitionKey(operationId),
                                           UnconfirmedTransactionEntity.GenerateRowKey(operationId));
     }
 }
 public async Task <IObservableOperation> GetById(Guid opId)
 {
     return(await _storage.GetDataAsync(ObservableOperationEntity.ByOperationId.GeneratePartitionKey(opId),
                                        UnconfirmedTransactionEntity.GenerateRowKey(opId)));
 }