How do you get around multiple database connections inside a TransactionScope if MSDTC is disabled?

后端 未结 3 914
别跟我提以往
别跟我提以往 2020-12-09 22:56

I have a web application that issues requests to 3 databases in the DAL. I\'m writing some integration tests to make sure that the overall functionality round trip actually

3条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-09 23:19

    If you don't want to use MSDTC you can use SQL transactions directly.

    See SqlConnection.BeginTransaction().

提交回复
热议问题