Skip to content

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

@cheenamalhotra

Description

@cheenamalhotra

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

  • An application may face database connectivity issues after migration due to insecure customer environment setups and enhanced security enabled by default by the new library. From security perspective, this is an acceptable risk and customers must be made aware of the functionality changes to help resolve connectivity issues.

Metadata

Metadata

Assignees

No one assigned

    Labels

    TriagedLabel to show that UA team has triaged this issue.design-proposallabel for issues that are design proposal

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions