We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Missing information
I tried looking for documentation on what the behaviour of a transaction is when it goes out of scope in the following scenarios:
https://learn.microsoft.com/en-us/ef/core/saving/transactions
https://github.com/dotnet/EntityFramework.Docs/blob/main/entity-framework/core/saving/transactions.md
cf56babd-def0-d76e-8eee-e33341b6a009
@roji
The text was updated successfully, but these errors were encountered:
Feel free to ask for more details or rewording if anything is unclear
Sorry, something went wrong.
When commit is called but the action fails, e.g. illegal transaction and throws an exception
Commit() will throw an exception at that point, and the transaction will be rolled back.
Commit is never called and the transaction simply goes out of scope
The transaction is automatically rolled back.
I've assumed that the transaction failing and being disposed results in some kind of implicit RollBackAsync behaviour
Yes.
Additionally the usages of RollbackAsync aren't particularly clear
You'll have to be more specific.
No branches or pull requests
Type of issue
Missing information
Description
I tried looking for documentation on what the behaviour of a transaction is when it goes out of scope in the following scenarios:
Page URL
https://learn.microsoft.com/en-us/ef/core/saving/transactions
Content source URL
https://github.com/dotnet/EntityFramework.Docs/blob/main/entity-framework/core/saving/transactions.md
Document Version Independent Id
cf56babd-def0-d76e-8eee-e33341b6a009
Article author
@roji
The text was updated successfully, but these errors were encountered: