Migrating To Microsoft Data Sqlclient

Migrates .NET projects from System.Data.SqlClient to Microsoft.Data.SqlClient, handling package references, namespace updates, connection string encryption changes, and behavioral differences. Use when upgrading SqlClient, replacing System.Data.SqlClient, migrating to Microsoft.Data.SqlClient, or modernizing SQL Server data access in C# or VB.NET projects (.csproj, .vbproj, .cs, .vb files).

Microsoft Updated 195k repo stars
image

File contents

microsoft/upgrade-agent-plugins commit 9167ba7f53

Frequently asked questions

npx get-skill add microsoft/migrating-to-microsoft-data-sqlclient