Skip to content

Commit b2f6b74

Browse files
authored
Known issue resolved for TransactionScope class
Updated known issues and workaround details
1 parent b0c8875 commit b2f6b74

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

articles/sql-database/sql-database-release-notes.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ The following features are enabled in Managed instance deployment model in H1 20
9090
|[Exceeding storage space with small database files](#exceeding-storage-space-with-small-database-files)||Has Workaround||
9191
|[GUID values shown instead of database names](#guid-values-shown-instead-of-database-names)||Has Workaround||
9292
|[Error logs aren't persisted](#error-logs-arent-persisted)||No Workaround||
93-
|[Transaction scope on two databases within the same instance isn't supported](#transaction-scope-on-two-databases-within-the-same-instance-isnt-supported)||Has Workaround||
93+
|[Transaction scope on two databases within the same instance isn't supported](#transaction-scope-on-two-databases-within-the-same-instance-isnt-supported)|March 2020|Has Workaround||
9494
|[CLR modules and linked servers sometimes can't reference a local IP address](#clr-modules-and-linked-servers-sometimes-cant-reference-a-local-ip-address)||Has Workaround||
9595
|Database consistency not verified using DBCC CHECKDB after restore database from Azure Blob Storage.||Resolved|Nov 2019|
9696
|Point-in-time database restore from Business Critical tier to General Purpose tier will not succeed if source database contains in-memory OLTP objects.||Resolved|Oct 2019|
@@ -224,7 +224,7 @@ Error logs that are available in managed instance aren't persisted, and their si
224224

225225
### Transaction scope on two databases within the same instance isn't supported
226226

227-
The `TransactionScope` class in .NET doesn't work if two queries are sent to two databases within the same instance under the same transaction scope:
227+
**(Resolved in March 2020)** The `TransactionScope` class in .NET doesn't work if two queries are sent to two databases within the same instance under the same transaction scope:
228228

229229
```csharp
230230
using (var scope = new TransactionScope())
@@ -249,9 +249,7 @@ using (var scope = new TransactionScope())
249249

250250
```
251251

252-
Although this code works with data within the same instance, it required MSDTC.
253-
254-
**Workaround:** Use [SqlConnection.ChangeDatabase(String)](/dotnet/api/system.data.sqlclient.sqlconnection.changedatabase) to use another database in a connection context instead of using two connections.
252+
**Workaround (not needed since March 2020):** Use [SqlConnection.ChangeDatabase(String)](/dotnet/api/system.data.sqlclient.sqlconnection.changedatabase) to use another database in a connection context instead of using two connections.
255253

256254
### CLR modules and linked servers sometimes can't reference a local IP address
257255

0 commit comments

Comments
 (0)