摘要: 经常遇到在三层架构中使用事务,而逻辑层无法使用SqlConnection的事务方法,终于找到一个可以在逻辑层使用的事务方法:使用TransactionScope: using System; using System.Data; using System.Data.SqlClient; using System.Transactions; /// /// 在项目里添加引用System.Tra... 阅读全文
posted @ 2008-08-27 16:54 朱胜 阅读(281) 评论(0) 推荐(0)