Hi people!

Mike, I dont't understand if you are trying to test the rollback of
distributed transaction, or the behaviour of ForceEscalationToDistributedTx.

Just curious, what is the result if you remove these two lines?:
      new ForceEscalationToDistributedTx(true);
       tx.Complete();

Another point: I prefer to write

using (TransactionScope ts = new TransactionScope()) {
...
...
      ts.Complete();
}

Angel "Java" Lopez
http://www.ajlopez.com
http://twitter.com/ajlopez


On Thu, Oct 15, 2009 at 3:47 PM, Mike Nichols <[email protected]>wrote:

>
> This test fails. Within a single transaction, there may be multiple
> sessions trying to persist to different databases but I am not sure
> this is possible.
> I lifted the ForceEscalationToDistributedTx from NH DTC tests and it
> enlists itself to rollback the transaction.
> Is what I am trying to do here possible?
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to