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


i have code this:

 using (datacontext dc = new datacontext(connstring))  {      using (transactionscope t = new transactionscope())      {        //make changes.        //dc.submitchanges();        // t.complete();        // datacontext automatically enlisted in transaction scope??      }  } 

is datacontext automatically enlisted in transaction scope??


Comments

Popular posts from this blog

c# - ItextSharp font color issue in ver 5.5.4+ -

jquery - Multiple issues with pushstate: history, loading, calling functions -

ios - retrievePeripherals deprecated in IOS7 how to substitude it with retrievePeripheralsWithIdentifiers -