Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
パラメータの1つとして接続を持つメソッドがあります:
例 public void Foo(SqlConnection pConn) { }
Foo内で、pConnがトランザクションスコープに登録されているかどうかを判断できますか?
そのSQLサーバーがselect @@trancountを発行する場合、一方向になります