Use Microsoft.Data.SqlClient

I’m sure I’ll forget, so here’s a note: try use Microsoft.Data.SqlClient instead of System.Data.SqlClient going forward as this will be the only namespace Microsoft will be implementing new features on ref: https://devblogs.microsoft.com/dotnet/introducing-the-new-microsoftdatasqlclient/

The NuGet link is https://www.nuget.org/packages/Microsoft.Data.SqlClient

Leave a Reply