/// <inheritdoc/> public override async ValueTask RollbackTransactionAsync(Transaction transaction) { pendingTransaction = null; if (connection.ActiveTransaction != null && !transactionIsExternal) { await driver.RollbackTransactionAsync(Session, connection).ConfigureAwait(false); } if (!connectionIsExternal) { await driver.CloseConnectionAsync(Session, connection).ConfigureAwait(false); } }