Skip to main content
System.Data.SqlClient package icon

System.Data.SqlClient

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: System.Data.SqlClient.SqlConnection System.Data.SqlClient.SqlException System.Data.SqlClient.SqlParameter System.Data.SqlDbType System.Data.SqlClient.SqlDataReader System.Data.SqlClient.SqlCommand System.Data.SqlClient.SqlTransaction System.Data.SqlClient.SqlParameterCollection System.Data.SqlClient.SqlClientFactory When using NuGet 3.x this package requires at least version 3.4.

Total Downloads
1.2B
1,232,625,859
Published
Jan 29, 2019
Latest stable version

Install

.NET CLI
dotnet add package System.Data.SqlClient --version 4.7.0-preview.19073.11
Package Manager Console
Install-Package System.Data.SqlClient -Version 4.7.0-preview.19073.11
PackageReference
<PackageReference Include="System.Data.SqlClient" Version="4.7.0-preview.19073.11" />

Frameworks

MonoAndroid1.0 MonoTouch1.0 .NETFramework4.5.1 .NETFramework4.6 .NETFramework4.6.1 .NETCoreApp2.0 .NETCoreApp2.1 .NETCoreApp3.0 .NETStandard1.2 .NETStandard1.3 .NETStandard2.0 .NETPortable4.6-Profile151 UAP10.0.16299 UAP10.0.16300 Windows8.1 WindowsPhoneApp8.1 Xamarin.iOS1.0 Xamarin.Mac2.0 Xamarin.TVOS1.0 Xamarin.WatchOS1.0

Dependencies

System.Data.Common
.NETFramework4.5.1
[4.3.0, )
System.Data.Common
.NETFramework4.6
[4.3.0, )
[4.6.0-preview.19073.11, )
[4.6.0-preview.19073.11, )
[4.6.0-preview.19073.11, )
System.Memory
.NETCoreApp2.0
[4.5.0, )
[4.6.0-preview.19073.11, )
[4.6.0-preview.19073.11, )
[4.6.0-preview.19073.11, )
[4.6.0-preview.19073.11, )
[4.6.0-preview.19073.11, )
[4.6.0-preview.19073.11, )
[4.6.0-preview.19073.11, )
[4.6.0-preview.19073.11, )
[4.6.0-preview.19073.11, )
[4.6.0-preview.19073.11, )
[4.6.0-preview.19073.11, )
[4.6.0-preview.19073.11, )
[4.6.0-preview.19073.11, )
NETStandard.Library
.NETStandard1.2
[1.6.1, )
System.Data.Common
.NETStandard1.2
[4.3.0, )
NETStandard.Library
.NETStandard1.3
[1.6.1, )
System.Data.Common
.NETStandard1.3
[4.3.0, )
[4.5.0, )
System.IO.Pipes
.NETStandard1.3
[4.3.0, )
[4.3.0, )
System.Net.Security
.NETStandard1.3
[4.3.0, )
[4.5.0, )
[4.3.0, )
[4.5.0, )
[4.5.0, )
[4.3.0, )
[4.3.0, )
[4.6.0-preview.19073.11, )
[4.6.0-preview.19073.11, )
System.Buffers
.NETStandard2.0
[4.5.0, )
[4.6.0-preview.19073.11, )
System.Memory
.NETStandard2.0
[4.5.0, )
[4.6.0-preview.19073.11, )
[4.6.0-preview.19073.11, )
System.Data.Common
.NETPortable4.6-Profile151
[4.3.0, )
[3.0.0-preview.19073.11, )
[4.6.0-preview.19073.11, )
System.Memory
UAP10.0.16299
[4.5.0, )
[4.6.0-preview.19073.11, )
[3.0.0-preview.19073.11, )
[4.6.0-preview.19073.11, )
[4.3.0, )
System.Data.Common
WindowsPhoneApp8.1
[4.3.0, )

Adoption guide

A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.

This version is marked prerelease. Validate its API and upgrade path before production use.

Published vulnerability advisories exist for this version. Read the advisory and choose a remediated version before release.

No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.

Compatibility metadata lists 20 target frameworks; confirm the exact target used by your application.

How to read this guidance

Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.

Useful next steps

Move from package metadata to a concrete selection or review workflow.