-
Notifications
You must be signed in to change notification settings - Fork 285
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 to Shared for the Microsoft.Data.SqlClient Reference project #1307
Conversation
…tion, remove the netfx ref project and files
The implication of this merge would be that all builds of SqlClient have feature parity, and I didn't think that was the case. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please organize merges better in classes, you can search for method/type by their name before categorizing them and put them in 1 location only.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Architecture looks good, few more changes needed.
Do we need to have ifdefs and a single file? We could still have netcore and netfx files in the shared location and conditionally include them and I think that would be clearer. |
I did notice there's already a |
…he same for netfx and netcore. Move the ifdef for netfx to Microsoft.Data.SqlClient.NetFx.cs so it's cleaner and easier to read. Remove some ifdef where it says NETCOREAPP, NETSTANDARD or NETFRAMEWORK because it exists in all versions.
Codecov Report
@@ Coverage Diff @@
## main #1307 +/- ##
==========================================
- Coverage 71.54% 71.36% -0.19%
==========================================
Files 291 291
Lines 61241 61241
==========================================
- Hits 43817 43702 -115
- Misses 17424 17539 +115
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
Closing this PR as it not in a mergeable state. |
This is related to #1261 but it's not in the list. @cheenamalhotra mentioned that we would like to merge the two reference projects into one as the long term goal is to have one codebase. I merged the netfx csproj into netcore and combined the Microsoft.Data.SqlClient.cs. I ran MSBUILD on release and generated the nuget package and compared it before it was merged. The file size remained the same and I used NuGet Package Explorer to view the contents of the package and it looked the same.