知道代码块是否在TransactionScope内的最佳方法是什么? Transaction.Current是一种可行的方式,还是有任何微妙之处? 是否可以使用反射访问内部ContextData.CurrentData.CurrentScope(在System.Transactions中)?如果有,怎么样?
.net c# transactionscope
.net ×1
c# ×1
transactionscope ×1