How to use TransactionScope in C#?

前端 未结 7 1088
猫巷女王i
猫巷女王i 2020-11-29 23:55

I am trying to use TransactionScope, but keep getting the exception below.
The app is running on a different machine than the database, if that matters. I

7条回答
  •  萌比男神i
    2020-11-30 00:17

    I had the same problem running integration tests.

    I posted a question about this here

    but eventually I found a way around it. Although, I wouldn't recommend doing that for production code. I was doing it within the context of testing.

提交回复
热议问题