摘要: 1.在控制器里引用using System.Transactions;2.在你需要事务回滚的地方外面套一层using (TransactionScope sc = new TransactionScope()){}using (TransactionScope sc = new Transactio... 阅读全文
posted @ 2015-12-28 10:20 Alvin-fan 阅读(4984) 评论(3) 推荐(0) 编辑