buguge - Keep it simple,stupid

知识就是力量,但更重要的,是运用知识的能力why buguge?

导航

2017年1月10日 #

System.InvalidOperationException nested transactions are not supported

摘要: bll方法里开启了分布式事务,dal方法里又启动了数据库事务。通过查看异常堆栈,发现异常是在执行BillsDal.Add(bill);方法里的var trans = conn.BeginTransaction();这条语句抛出来的。 阅读全文

posted @ 2017-01-10 11:29 buguge 阅读(665) 评论(0) 推荐(0) 编辑