dotnet / upgrade-assistant

A tool to assist developers in upgrading .NET Framework applications to .NET 6 and beyond
MIT License
1.11k stars 163 forks source link

Add support for migrating from System.Data.SqlClient to Microsoft.Data.SqlClient #1593

Open cheenamalhotra opened 3 months ago

cheenamalhotra commented 3 months ago

Summary

Microsoft.Data.SqlClient is the successor of System.Data.SqlClient, actively supported by Microsoft, while System.Data.SqlClient is in security maintenance mode.

Motivation and goals

MDS made it's entry in 2019 and has gained stability and customer adoption over the years. The first introductory blog post is here: https://devblogs.microsoft.com/dotnet/introducing-the-new-microsoftdatasqlclient/

Porting to the new package involves namespace and package reference updates. More details can be found in porting-cheat-sheet.

In scope

Namespace changes, package reference updates, and everything mentioned in the porting cheat sheet linked above.

Out of scope

Functionality changes that need manual reviewing.

Risks / unknowns