摘要:
.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... 阅读全文