Multiple Connections With Same Connection String Under A Single Transaction, Elevated Transaction?

后端 未结 1 1250
栀梦
栀梦 2020-12-20 01:19

When using ado.net, and creating multiple connections to a MS SQL Server database within a single transaction (using System.Transactions.TransactionScope), does System.Trans

1条回答
  •  执笔经年
    2020-12-20 01:52

    In the current version it always elevates the transaction, unfortunately.

    Which as you say, makes TransactionScope a lot less useful than it otherwise would be. I believe there are plans to change this in a future version.

    0 讨论(0)
提交回复
热议问题