/// <inheritdoc/> public override void CommitTransaction(Transaction transaction) { pendingTransaction = null; if (connection.ActiveTransaction != null && !transactionIsExternal) { driver.CommitTransaction(Session, connection); } if (!connectionIsExternal) { driver.CloseConnection(Session, connection); } }