代码改变世界

随笔档案-2009年6月10日

Trick: 巧用.NET Reflector, SOS Debugging找出和某一个TransactionScope绑定的SqlConnection objects以及SqlConnection中开着的SqlDataReader objects (Find all SqlConnection objects associated with a TransactionScope)

2009-06-10 22:32 by Jialiang, 2061 阅读, 收藏,
摘要: 考虑一下如下两个问题: Q1: How to find the live SqlDataReader from a SqlConnection object.Q2: How to find all SqlConnection objects associated with a TransactionScope, and then find the live SqlDataReader from t... 阅读全文