事务范围 (TransactionScope) 是否可以与已关闭的数据库连接一起使用?
using (var transaction = new TransactionScope(TransactionScopeOption.Required))
{
// creates a new connection, does stuff, commit trans and close
repos1.DoSomething();
// creates a new connection, does stuff, commit trans and close
repos2.DoSomething();
transaction.Complete();
}