Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Transaction vs. TransactionScope
Message
From
22/09/2006 09:32:49
 
 
To
19/09/2006 12:20:15
General information
Forum:
ASP.NET
Category:
ADO.NET
Environment versions
Environment:
C# 2.0
Miscellaneous
Thread ID:
01155025
Message ID:
01156390
Views:
19
Hi,

>To use transaction scope, I am pretty sure you need to have Microsoft Distributed Transaction Coordinator configured whereas you don't if you use a plain old transaction.

Are you referring to the ADO transaction from 1.1?

I think that in NET2 the TransactionScope class is pretty much just a wrapper to simplify coding. The following will also start a transaction in the DTC (assuming it's not a SQL2005/SQLExpress connection) :
CommittableTransaction tx = new CommittableTransaction();
connection.EnlistTransaction(tx);
Regards,
Viv
Previous
Reply
Map
View

Click here to load this message in the networking platform