DoRollback() static private method

Rolls back a transaction given the ID
static private DoRollback ( ITransactionExecutionEnvironment transactionExecutionEnvironment, NameValueCollection customHeaders = null ) : void
transactionExecutionEnvironment ITransactionExecutionEnvironment The transaction execution environment
customHeaders NameValueCollection
return void
 public void Rollback(Enlistment enlistment)
 {
     try
     {
         Neo4jTransaction.DoRollback(_transactionExecutionEnvironment);
     }
     finally
     {
         // always have to call Done() or we clog the resources
         enlistment.Done();
     }
 }