我的代码是这样的:
using (Datacontext dc = new Datacontext(connString))
{
using (TransactionScope t = new TransactionScope())
{
//make my changes.
//dc.submitchanges();
// t.complete();
// Is my datacontext automatically enlisted in the transaction scope??
}
}
我的datacontext是否自动登记在事务范围内?