The current data provider for SQL Server and Azure SQL databases. This has replaced System.Data.SqlClient. These classes provide access to SQL 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.
dotnet add package Microsoft.Data.SqlClient --version 6.0.0
Install-Package Microsoft.Data.SqlClient -Version 6.0.0
| 包名 | 版本要求 |
|---|---|
| Microsoft.Data.SqlClient.SNI | [6.0.1, ) |
| Azure.Identity | [1.11.4, ) |
| Microsoft.Extensions.Caching.Memory | [8.0.1, ) |
| Microsoft.IdentityModel.JsonWebTokens | [7.5.0, ) |
| Microsoft.IdentityModel.Protocols.OpenIdConnect | [7.5.0, ) |
| System.Buffers | [4.5.1, ) |
| System.Text.Encodings.Web | [6.0.0, ) |
| System.Text.Json | [6.0.10, ) |
| System.Security.Cryptography.Pkcs | [8.0.1, ) |
| Microsoft.Bcl.Cryptography | [8.0.0, ) |
| 包名 | 版本要求 |
|---|---|
| Microsoft.Data.SqlClient.SNI.runtime | [6.0.1, ) |
| Azure.Identity | [1.11.4, ) |
| Microsoft.Extensions.Caching.Memory | [8.0.1, ) |
| Microsoft.IdentityModel.JsonWebTokens | [7.5.0, ) |
| Microsoft.IdentityModel.Protocols.OpenIdConnect | [7.5.0, ) |
| Microsoft.SqlServer.Server | [1.0.0, ) |
| System.Configuration.ConfigurationManager | [8.0.1, ) |
| System.Security.Cryptography.Pkcs | [8.0.1, ) |
| Microsoft.Bcl.Cryptography | [8.0.0, ) |
| 包名 | 版本要求 |
|---|---|
| Microsoft.Data.SqlClient.SNI.runtime | [6.0.1, ) |
| Azure.Identity | [1.11.4, ) |
| Microsoft.Extensions.Caching.Memory | [9.0.0, ) |
| Microsoft.IdentityModel.JsonWebTokens | [7.5.0, ) |
| Microsoft.IdentityModel.Protocols.OpenIdConnect | [7.5.0, ) |
| Microsoft.SqlServer.Server | [1.0.0, ) |
| System.Configuration.ConfigurationManager | [9.0.0, ) |
| System.Security.Cryptography.Pkcs | [9.0.0, ) |
| Microsoft.Bcl.Cryptography | [9.0.0, ) |
| 作者 | Microsoft |
|---|---|
| 发布时间 | 1900-01-01 00:00:00 |
| 项目主页 | https://aka.ms/sqlclientproject |
| 许可证 | https://www.nuget.org/packages/Microsoft.Data.SqlClient/6.0.0/license |