// <-- this is actually held around in another object that has a very long lifetime, well past the TransactionScope.{
conn = new OracleConnection("my connection string");TransactionScope。在实际代码中,有更多的</em
更改数据库事务中的隔离级别是可以的,包括当您将一个事务连接到已经运行的事务时。从现在开始你只需要改变你处理锁的方式。= new TransactionScope(TransactionScopeOption.Required, tranOpts)) sut.SelectFoos();using (var transactionScope2 = new TransactionScope(TransactionScopeOption.Requir