TransactionScope: Has it gotten better?

前端 未结 3 552
感情败类
感情败类 2020-12-11 19:53

When TransactionScope first came out, I ran into some serious issues getting it to work between my dev machine (XP) and our database server (Windows Server 2003).

Wh

3条回答
  •  情话喂你
    2020-12-11 20:28

    There are still issues regarding TransactionScope. In my current project we are at irregular intervals running into both “Unable to enlist in a distributed transaction” exceptions and TransactionInDoubtException. Both exceptions related to TransactionScope. One workaround for both exceptions is to use a single oracle connection (if applicable of course). Read about this in: Avoid unwanted Escalation to Distributed Transactions

    For information on performance impact please read my post: Performance impact using TransactionScope

提交回复
热议问题