Skip to content

Commit 58b32d1

Browse files
committed
Add note on TransactionScope on supporting async
Fixes dotnet#4306
1 parent ebc0394 commit 58b32d1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

entity-framework/core/saving/transactions.md

+2
Original file line numberDiff line numberDiff line change
@@ -110,3 +110,5 @@ It is also possible to enlist in an explicit transaction.
110110
> It is recommended that you test that the API behaves correctly with your provider before you rely on it for managing transactions. You are encouraged to contact the maintainer of the database provider if it does not.
111111
112112
2. Distributed transaction support in System.Transactions was added to .NET 7.0 for Windows only. Any attempt to use distributed transactions on older .NET versions or on non-Windows platforms will fail.
113+
114+
3. TransactionScope does not support async commit/rollback; that means that disposing it synchronously blocks the executing thread until the operation is complete.

0 commit comments

Comments
 (0)