/// <inheritdoc />
        public async Task RollbackAsync()
        {
            CheckOpenStatus();

            if (DriverTransaction != null)
            {
                await DriverTransaction.RollbackAsync().ConfigureAwait(false);
            }

            IsOpen = false;
        }
 public async Task RollbackTransaction()
 {
     await transaction.RollbackAsync();
 }
Example #3
0
 public IObservable <T> Rollback <T>()
 {
     return(Observable.FromAsync(() => _transaction.RollbackAsync()).SelectMany(x => Observable.Empty <T>()));
 }