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

UnitOfWorkDbContextProvider should not reuse the transaction if dbcontext doesn't reuse the connection #8049

Closed
hikalkan opened this issue Mar 13, 2021 · 1 comment

Comments

@hikalkan
Copy link
Member

Because a transaction with multiple connections fail. This is a rare case that may happen if we want to not use existing connection while creating a new dbcontext with the same connstring.

@ebicoglu
Copy link
Member

ebicoglu commented Mar 25, 2021

this fixes The specified transaction is not associated with the current connection

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants