JCoder.Db4Net.SqlServer
2.13.3
.NET 5.0
This package targets .NET 5.0. The package is compatible with this framework or higher.
.NET Standard 2.1
This package targets .NET Standard 2.1. The package is compatible with this framework or higher.
.NET Framework 4.7.2
This package targets .NET Framework 4.7.2. The package is compatible with this framework or higher.
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package JCoder.Db4Net.SqlServer --version 2.13.3
NuGet\Install-Package JCoder.Db4Net.SqlServer -Version 2.13.3
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="JCoder.Db4Net.SqlServer" Version="2.13.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add JCoder.Db4Net.SqlServer --version 2.13.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: JCoder.Db4Net.SqlServer, 2.13.3"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install JCoder.Db4Net.SqlServer as a Cake Addin #addin nuget:?package=JCoder.Db4Net.SqlServer&version=2.13.3 // Install JCoder.Db4Net.SqlServer as a Cake Tool #tool nuget:?package=JCoder.Db4Net.SqlServer&version=2.13.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
JCoder.Db4Net.SqlServer
属性 | |
---|---|
作者(Authors) | Jackie Law |
版权(Copyright) | Copyright © Jackie Law. All rights reserved. |
协议 | MIT |
联系(QQ) | 1378071853 |
联系(微信) | JackieLaw1024 |
联系(Email) | JackieLaw-dev@outlook.com |
目录
[TOC]
介绍
- JCoder = Jackie who a coder.;
- C#库;
- Database类库,一个基于JCoder.Db4Net且支持Sql Server的库。
架构说明
.Net框架
.Net框架 | .Net项目类型 |
---|---|
.Net 5 | - |
引用类库
引用类库 | 版本 |
---|---|
JCoder.Db4Net | >=2.3.1 |
System.Data.SqlClient | >=4.8.2 |
相关类库
相关类库 | 说明 |
---|---|
JCore.Db4Net | 一款为方便使用数据库的操作类库。 |
JCore.Db4Net.ORM | 一个基于JCore.Db4Net的ORM库。 |
JCore.Db4Net.Sqlite | 一个基于JCore.Db4Net且支持Sqlite的库。 |
JCore.Db4Net.MySql | 一个基于JCore.Db4Net且支持Mysql的库。 |
JCore.Db4Net.SqlServer | 一个基于JCore.Db4Net且支持SqlServer的库。 |
JCoder.Db4Net | 一款为方便使用数据库的操作类库,JCore.Db4Net的新版本。 |
JCoder.Db4Net.ORM | 一个基于JCoder.Db4Net的ORM库,JCore.Db4Net.ORM的新版本。 |
JCoder.Db4Net.Sqlite | 一个基于JCoder.Db4Net且支持Sqlite的库,JCore.Db4Net.Sqlite的新版本。 |
JCoder.Db4Net.MySql | 一个基于JCoder.Db4Net且支持Mysql的库,JCore.Db4Net.MySql的新版本。 |
JCoder.Db4Net.SqlServer | 一个基于JCoder.Db4Net且支持SqlServer的库,JCore.Db4Net.SqlServer的新版本。 |
获取方式
- 版本要求:>=2.3.1
- 以版本2.3.1为例
获取方式 | 描述 |
---|---|
Package Manager | Install-Package JCoder.Db4Net.SqlServer -Version 2.3.1 |
.Net CLI | dotnet add package JCoder.Db4Net.SqlServer --version 2.3.1 |
PackageReference | <PackageReference Include="JCoder.Db4Net.SqlServer" Version="2.3.1" /> |
Paket CLI | paket add JCoder.Db4Net.SqlServer --version 2.3.1 |
Script&Interactive | #r "nuget: JCoder.Db4Net.SqlServer, 2.3.1" |
Cake | // Install as a Cake Addin<br/>#addin nuget:?package=JCoder.Db4Net.SqlServer&version=2.3.1<br/><br/>// Install as a Cake Tool<br/>#tool nuget:?package=JCoder.Db4Net.SqlServer&version=2.3.1 |
使用说明
创建实例
SqlServerFactoryOperator
需要先在项目里引用或加载Sql Server官方库System.Data.SqlClient.dll。
IDbOperator _operator = new SqlServerFactoryOperator()
{
ConnectionString = "Server=127.0.0.1;Database=test;Uid = user; Pwd=testpassword;"
};
SqlOperator
IDbOperator _operator = new SqlOperator()
{
ConnectionString = "Server=127.0.0.1;Database=test;Uid = user; Pwd=testpassword;"
};
实例使用
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 is compatible. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.1 is compatible. |
.NET Framework | net472 is compatible. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETFramework 4.7.2
- JCoder.Db4Net (>= 2.13.3)
- System.Data.SqlClient (>= 4.8.2)
-
.NETStandard 2.1
- JCoder.Db4Net (>= 2.13.3)
- System.Data.SqlClient (>= 4.8.2)
-
net5.0
- JCoder.Db4Net (>= 2.13.3)
- System.Data.SqlClient (>= 4.8.2)
-
net6.0
- JCoder.Db4Net (>= 2.13.3)
- System.Data.SqlClient (>= 4.8.2)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
3.13.2 | 45 | 11/7/2024 |
3.13.1 | 39 | 11/7/2024 |
3.12.1 | 74 | 11/3/2024 |
3.11.1 | 66 | 11/1/2024 |
3.9.8 | 109 | 9/17/2024 |
3.9.7 | 95 | 9/8/2024 |
3.9.6 | 106 | 8/30/2024 |
3.9.5 | 111 | 8/30/2024 |
3.9.4 | 106 | 8/30/2024 |
3.9.3 | 104 | 8/30/2024 |
3.9.2 | 91 | 8/30/2024 |
3.9.1 | 97 | 8/30/2024 |
3.8.3 | 136 | 8/13/2024 |
3.8.2 | 110 | 7/24/2024 |
3.8.1 | 99 | 7/18/2024 |
3.7.4 | 92 | 7/17/2024 |
3.7.3 | 114 | 4/5/2024 |
3.6.3 | 110 | 4/4/2024 |
3.5.2 | 244 | 12/3/2023 |
3.5.1 | 140 | 10/5/2023 |
3.4.2 | 156 | 10/2/2023 |
2.26.0 | 275 | 2/13/2023 |
2.21.4 | 323 | 11/8/2022 |
2.20.12 | 376 | 11/4/2022 |
2.19.5 | 408 | 10/14/2022 |
2.18.6 | 402 | 10/13/2022 |
2.13.3 | 403 | 6/5/2022 |
2.12.3 | 446 | 5/25/2022 |
2.11.4 | 460 | 5/13/2022 |
Please contact Jackie by QQ 1378071853 or E-mail JackieLaw-dev@outlook.com;