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

SNOW-76790 .Net dbDataReader RowsAffected issue #136

Merged
merged 1 commit into from
May 31, 2019

Conversation

ChTimTsubasa
Copy link
Contributor

Customers using ASP.NET EntityFramework would have exception because in the framework's codebase, the RecordsAffected property would be called even if the the reader is closed. See https://github.com/aspnet/EntityFrameworkCore/blob/master/src/EFCore.Relational/Storage/RelationalDataReader.cs#L115

This PR is to fetch RowsAffected earlier for dataReader.

…perty can be available even if the connection/reader is closed
@ChTimTsubasa ChTimTsubasa requested a review from howryu May 31, 2019 01:58
@ChTimTsubasa ChTimTsubasa merged commit 1789ff8 into prep-1.0.10 May 31, 2019
@ChTimTsubasa ChTimTsubasa deleted the RowsAffected branch May 31, 2019 17:22
ankit-bhatnagar167 pushed a commit that referenced this pull request Jun 3, 2019
…perty can be available even if the connection/reader is closed (#136)
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.

2 participants