摘要: .net为我们提供了TransactionScope类来方便实现transaction的操作。代码一:View Code 1 using (TransactionScope scope = new TransactionScope(TransactionScopeOption.Required, tOptions)) 2 { 3 /* Perform transactional work here */ 4 Add(ConfigurationManager.ConnectionStrings["ConnectionString1"].C... 阅读全文
posted @ 2011-08-16 18:03 皮业勇 阅读(1055) 评论(0) 推荐(0) 编辑