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

node.js - Mongoose: Cast to ObjectId failed for value on newly created object after setting the value -

[C++][SFML 2.2] Strange Performance Issues - Moving Mouse Lowers CPU Usage -

ios - Possible to get UIButton sizeThatFits to work? -