Microsoft.Data.SqlClient
2.1.2
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.
See the version list below for details.
Requires NuGet 2.12 or higher.
Install-Package Microsoft.Data.SqlClient -Version 2.1.2
dotnet add package Microsoft.Data.SqlClient --version 2.1.2
<PackageReference Include="Microsoft.Data.SqlClient" Version="2.1.2" />
paket add Microsoft.Data.SqlClient --version 2.1.2
#r "nuget: Microsoft.Data.SqlClient, 2.1.2"
// Install Microsoft.Data.SqlClient as a Cake Addin
#addin nuget:?package=Microsoft.Data.SqlClient&version=2.1.2
// Install Microsoft.Data.SqlClient as a Cake Tool
#tool nuget:?package=Microsoft.Data.SqlClient&version=2.1.2
Release Notes
https://go.microsoft.com/fwlink/?linkid=2090501
Dependencies
-
.NETCoreApp 2.1
- Microsoft.Data.SqlClient.SNI.runtime (>= 2.1.1)
- Microsoft.Identity.Client (>= 4.21.1)
- Microsoft.IdentityModel.JsonWebTokens (>= 6.8.0)
- Microsoft.IdentityModel.Protocols.OpenIdConnect (>= 6.8.0)
- Microsoft.Win32.Registry (>= 4.7.0)
- System.Configuration.ConfigurationManager (>= 4.7.0)
- System.Diagnostics.DiagnosticSource (>= 4.7.0)
- System.Runtime.Caching (>= 4.7.0)
- System.Security.Principal.Windows (>= 4.7.0)
- System.Text.Encoding.CodePages (>= 4.7.0)
-
.NETCoreApp 3.1
- Microsoft.Data.SqlClient.SNI.runtime (>= 2.1.1)
- Microsoft.Identity.Client (>= 4.21.1)
- Microsoft.IdentityModel.JsonWebTokens (>= 6.8.0)
- Microsoft.IdentityModel.Protocols.OpenIdConnect (>= 6.8.0)
- Microsoft.Win32.Registry (>= 4.7.0)
- System.Configuration.ConfigurationManager (>= 4.7.0)
- System.Diagnostics.DiagnosticSource (>= 4.7.0)
- System.Runtime.Caching (>= 4.7.0)
- System.Security.Principal.Windows (>= 4.7.0)
- System.Text.Encoding.CodePages (>= 4.7.0)
-
.NETFramework 4.6
- Microsoft.Data.SqlClient.SNI (>= 2.1.1)
- Microsoft.Identity.Client (>= 4.21.1)
- Microsoft.IdentityModel.JsonWebTokens (>= 6.8.0)
- Microsoft.IdentityModel.Protocols.OpenIdConnect (>= 6.8.0)
-
.NETStandard 2.0
- Microsoft.Data.SqlClient.SNI.runtime (>= 2.1.1)
- Microsoft.Identity.Client (>= 4.21.1)
- Microsoft.IdentityModel.JsonWebTokens (>= 6.8.0)
- Microsoft.IdentityModel.Protocols.OpenIdConnect (>= 6.8.0)
- Microsoft.Win32.Registry (>= 4.7.0)
- System.Buffers (>= 4.5.1)
- System.Memory (>= 4.5.4)
- System.Runtime.Caching (>= 4.7.0)
- System.Security.Principal.Windows (>= 4.7.0)
- System.Text.Encoding.CodePages (>= 4.7.0)
-
.NETStandard 2.1
- Microsoft.Data.SqlClient.SNI.runtime (>= 2.1.1)
- Microsoft.Identity.Client (>= 4.21.1)
- Microsoft.IdentityModel.JsonWebTokens (>= 6.8.0)
- Microsoft.IdentityModel.Protocols.OpenIdConnect (>= 6.8.0)
- Microsoft.Win32.Registry (>= 4.7.0)
- System.Buffers (>= 4.5.1)
- System.Memory (>= 4.5.4)
- System.Runtime.Caching (>= 4.7.0)
- System.Security.Principal.Windows (>= 4.7.0)
- System.Text.Encoding.CodePages (>= 4.7.0)
Used By
NuGet packages (408)
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.
This package was built from the source code at https://github.com/dotnet/aspnetcore/tree/718171eeb4bd236ab4f0d9b1ecd97ecc63ec0be1
|
|
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
|
|
EFCore.BulkExtensions
EntityFramework EF Core Bulk Batch Extensions for Insert Update Delete and Read (CRUD) operations on SQL Server and SQLite
|
GitHub repositories (74)
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
|
|
HangfireIO/Hangfire
An easy way to perform background job processing in your .NET and .NET Core applications. No Windows Service or separate process required
|
|
NLog/NLog
NLog - Advanced and Structured Logging for Various .NET Platforms
|
Version History
Version | Downloads | Last updated |
---|---|---|
3.0.0-preview2.21106.5 | 114 | 4/16/2021 |
3.0.0-preview1.21075.2 | 4,685 | 3/16/2021 |
2.1.2 | 339,574 | 3/3/2021 |
2.1.1 | 1,103,505 | 12/18/2020 |
2.1.0 | 722,290 | 11/19/2020 |
2.1.0-preview2.20297.7 | 32,193 | 10/24/2020 |
2.1.0-preview1.20235.1 | 78,430 | 8/22/2020 |
2.0.1 | 6,634,270 | 8/25/2020 |
2.0.0 | 2,952,542 | 6/16/2020 |
2.0.0-preview4.20142.4 | 33,309 | 5/21/2020 |
2.0.0-preview3.20122.2 | 66,063 | 5/1/2020 |
2.0.0-preview2.20084.1 | 49,907 | 3/24/2020 |
2.0.0-preview1.20021.1 | 209,496 | 1/21/2020 |
1.1.4 | 3,671 | 3/10/2021 |
1.1.3 | 9,841,330 | 5/15/2020 |
1.1.2 | 774,365 | 4/15/2020 |
1.1.1 | 4,050,446 | 2/14/2020 |
1.1.0 | 2,007,706 | 11/20/2019 |
1.1.0-preview2.19309.1 | 9,282 | 11/5/2019 |
1.1.0-preview1.19275.1 | 45,438 | 10/2/2019 |
1.0.19269.1 | 19,820,071 | 9/26/2019 |
1.0.19249.1 | 4,314,094 | 9/6/2019 |
1.0.19239.1 | 1,001,129 | 8/27/2019 |
1.0.19221.1-Preview | 50,742 | 8/9/2019 |
1.0.19189.1-Preview | 108,194 | 7/8/2019 |
1.0.19128.1-Preview | 194,401 | 5/8/2019 |
1.0.19123.2-Preview | 1,437 | 5/6/2019 |