摘要: 先看一下效果,带接口层的三层架构: BL层: 假设GetStudentList方法里的mStudentDa.GetStudents和mValueService.FindAll不是查询操作,而是更新操作,当一个失败另一个需要回滚,就需要在同一个事务里,当一个出现异常就要回滚事务。 特性Transact 阅读全文
posted @ 2017-10-25 23:52 若邪 阅读(5665) 评论(1) 推荐(2) 编辑