Microsoft.Data.SqlClient 2.0.1

Provides the data provider for SQL Server. These classes provide access to versions of SQL Server and encapsulate database-specific protocols, including tabular data stream (TDS)

Commonly Used Types:
Microsoft.Data.SqlClient.SqlConnection
Microsoft.Data.SqlClient.SqlException
Microsoft.Data.SqlClient.SqlParameter
Microsoft.Data.SqlClient.SqlDataReader
Microsoft.Data.SqlClient.SqlCommand
Microsoft.Data.SqlClient.SqlTransaction
Microsoft.Data.SqlClient.SqlParameterCollection
Microsoft.Data.SqlClient.SqlClientFactory

When using NuGet 3.x this package requires at least version 3.4.

There is a newer prerelease version of this package available.
See the version list below for details.

Requires NuGet 2.12 or higher.

Install-Package Microsoft.Data.SqlClient -Version 2.0.1
dotnet add package Microsoft.Data.SqlClient --version 2.0.1
<PackageReference Include="Microsoft.Data.SqlClient" Version="2.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Microsoft.Data.SqlClient --version 2.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

https://go.microsoft.com/fwlink/?linkid=2090501

NuGet packages (252)

Showing the top 5 NuGet packages that depend on Microsoft.Data.SqlClient:

Package Downloads
Microsoft.EntityFrameworkCore.SqlServer
Microsoft SQL Server database provider for Entity Framework Core.
Microsoft.Extensions.Caching.SqlServer
Distributed cache implementation of Microsoft.Extensions.Caching.Distributed.IDistributedCache using Microsoft SQL Server.
Quartz
Quartz Scheduling Framework for .NET
AspNetCore.HealthChecks.SqlServer
HealthChecks.SqlServer is the health check package for SqlServer.
Serilog.Sinks.MSSqlServer
A Serilog sink that writes events to Microsoft SQL Server

GitHub repositories (54)

Showing the top 5 popular GitHub repositories that depend on Microsoft.Data.SqlClient:

Repository Stars
StackExchange/Dapper
Dapper - a simple object mapper for .Net
dotnet/efcore
EF Core is a modern object-database mapper for .NET. It supports LINQ queries, change tracking, updates, and schema migrations.
dotnet/orleans
Orleans is a cross-platform framework for building distributed applications with .NET
NLog/NLog
NLog - Advanced and Structured Logging for Various .NET Platforms
dotnetcore/CAP
Distributed transaction solution in micro-service base on eventually consistency, also an eventbus with Outbox pattern

Version History

Version Downloads Last updated
2.1.0-preview1.20235.1 10,783 8/22/2020
2.0.1 179,747 8/25/2020
2.0.0 918,285 6/16/2020
2.0.0-preview4.20142.4 24,441 5/21/2020
2.0.0-preview3.20122.2 52,717 5/1/2020
2.0.0-preview2.20084.1 33,658 3/24/2020
2.0.0-preview1.20021.1 174,864 1/21/2020
1.1.3 1,406,295 5/15/2020
1.1.2 461,589 4/15/2020
1.1.1 1,728,358 2/14/2020
1.1.0 1,267,690 11/20/2019
1.1.0-preview2.19309.1 5,965 11/5/2019
1.1.0-preview1.19275.1 25,618 10/2/2019
1.0.19269.1 12,178,369 9/26/2019
1.0.19249.1 3,321,995 9/6/2019
1.0.19239.1 467,246 8/27/2019
1.0.19221.1-Preview 48,186 8/9/2019
1.0.19189.1-Preview 103,689 7/8/2019
1.0.19128.1-Preview 166,924 5/8/2019
1.0.19123.2-Preview 1,283 5/6/2019