摘要: using (TransactionScope trans = new TransactionScope()) { try { db.Entry(entity); db.Set().Add(entity); ... 阅读全文
posted @ 2016-01-19 11:58 chenjingchun 阅读(165) 评论(0) 推荐(0) 编辑