-
Notifications
You must be signed in to change notification settings - Fork 21
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
Replace System.Data.SqlClient with Microsoft.Data.SqlClient #38
Comments
I'm contemplating if to replace System.Data.SqlClient with Microsoft.Data.SqlClient, or support both namespaces (as two separate packages), because users might not want to jump over to the Microsfot.Data.SqlClient wagon yet. What do you think? |
Hi @tsahi, |
Yes, we can do that. We can support the new namespace for the latest frameworks (.NET Framework 4.8 and .NET 5.0), and add a dependency on it for these versions. As the older frameworks go out of support from Microsoft (some already have), we can drop support for them and eventualy, a few years ahead, drop support for the old namespace entirely. Sounds right? |
Right |
We will implement this when we add support for .NET 5 (#41) and .NET Framework 4.8, in a future release. See comment above. |
Is there any update on Replacing System.Data.SqlClient with Microsoft.Data.SqlClient ? |
Is your feature request related to a problem? Please describe.
Microsoft has announced that future development of their .NET SQL Server driver will be done in Microsoft.Data.SqlClient, released as a NuGet package for both .NET Core and .NET Framework. To keep with the latest developments, we need to use that instead of
System.Data.SqlClient
.Describe the solution you'd like
This is mostly a find-and-replace of the namespace once the package is added.
Microsoft also maintains a NuGet package named System.Data.SqlClient, but all their publications promote Microsoft.Data.SqlClient.
The text was updated successfully, but these errors were encountered: