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
Post a Comment