Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider using System.Transactions.Transaction.Current in relational when running on desktop .NET #1530

Closed
divega opened this issue Feb 3, 2015 · 1 comment

Comments

@divega
Copy link
Contributor

divega commented Feb 3, 2015

When running on desktop .NET ADO.NET connections (at least SqlClient and a few more providers) will get auto-enlisted in ambient transactions. In EF6 we integrate with System.Transactions by checking for Transaction.Current not being null before we decide wether we need to initiate our own local DbTransaction. If we don't do the same in EF7 when running on desktop .NET, the behavior of EF7 in presence of ambient transactions will most likely not meet user expectations.

@rowanmiller
Copy link
Contributor

We decided not to support TransactionScope. We decided we should detect if someone is trying to though and throw so it is clear it's not supported (#1584).

@ajcvickers ajcvickers reopened this Oct 16, 2022
@ajcvickers ajcvickers closed this as not planned Won't fix, can't repro, duplicate, stale Oct 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants