Saturday, 15 January 2011

c# - Is Linq data context automatically enlisted in TransactionScope Transaction? -


I have my code something like this:

 using  (datacentax DC = new ConnString) {Usage (TransactionScope t = New TransactionScope ()) // Make changes to //dc.submitchanges (); // TComplete (); // Is my datacontact automatically recruited in the transaction area ?? }}  

Are my datacontaxes automatically recruited in the transaction area ??


No comments:

Post a Comment