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

Move into Shared for SqlReferenceCollection.cs #1303

Merged
merged 3 commits into from
Oct 15, 2021

Conversation

lcheunglci
Copy link
Contributor

This relates to #1261 . I diff'ed the netcore vs with netfx version of SqlReferenceCollection.cs and found that the logic is nearly the same with the exception of the FindLiveCommand method which referenced in SqlInternalConnection.cs on netfx in an internal method and is never used with no references. I tried to merge SqlInternalConnection.cs but realized that there was a dependency on SqlDataReader which is not merged yet and the SqlInternalConnectionTds and SqlInternalConnectionSmi would be affected too, so I kept changes small by removing the FindLiveCommand in SqlInternalConnection in netfx and will open another PR for that. The netcore version of SqlReferenceCollection.cs then added into share src and updated references in the csprojs.

lcheunglci and others added 2 commits September 29, 2021 12:07
…and updated references in the csprojs and fix compiler error removing internal method with no references
@DavoudEshtehari DavoudEshtehari added the ➕ Code Health Changes related to source code improvements label Sep 30, 2021
@DavoudEshtehari DavoudEshtehari added this to the 4.0.0-preview3 milestone Sep 30, 2021
@JRahnama JRahnama merged commit 1dc9647 into dotnet:main Oct 15, 2021
@lcheunglci lcheunglci deleted the MergeShared-SqlReferenceCollection branch October 21, 2021 15:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
➕ Code Health Changes related to source code improvements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants