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