System.InvalidOperationException nested transactions are not supported
摘要:
bll方法里开启了分布式事务,dal方法里又启动了数据库事务。通过查看异常堆栈,发现异常是在执行BillsDal.Add(bill);方法里的var trans = conn.BeginTransaction();这条语句抛出来的。 阅读全文
posted @ 2017-01-10 11:29 buguge 阅读(694) 评论(0) 推荐(0)
浙公网安备 33010602011771号