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

Initialize DbCommand.Transaction in DbConnection.CreateDbCommand() #2163

Closed
wants to merge 1 commit into from

Conversation

arontsang
Copy link

@arontsang arontsang commented Sep 20, 2023

fixes #2162

@codecov
Copy link

codecov bot commented Sep 20, 2023

Codecov Report

Patch coverage is 50.00% of modified lines.

Files Changed Coverage
...rc/Microsoft/Data/SqlClient/SqlConnectionHelper.cs 50.00%
...rc/Microsoft/Data/SqlClient/SqlConnectionHelper.cs 50.00%

📢 Thoughts on this report? Let us know!.

@David-Engel
Copy link
Contributor

Since this would be a breaking change, the better option would be the one you mentioned on your issue. Just associate the metadata command with the transaction, not all commands, by default.

@JRahnama
Copy link
Contributor

Closing due to inactivity. Feel free to open a new PR.

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

Successfully merging this pull request may close these issues.

SqlConnection.GetSchema fails when SqlConnection.Transaction is not null
3 participants