HgLib.DB
1.0.6
See the version list below for details.
dotnet add package HgLib.DB --version 1.0.6
NuGet\Install-Package HgLib.DB -Version 1.0.6
<PackageReference Include="HgLib.DB" Version="1.0.6" />
paket add HgLib.DB --version 1.0.6
#r "nuget: HgLib.DB, 1.0.6"
// Install HgLib.DB as a Cake Addin #addin nuget:?package=HgLib.DB&version=1.0.6 // Install HgLib.DB as a Cake Tool #tool nuget:?package=HgLib.DB&version=1.0.6
HgLib数据库帮助。使用.NET Standard 2.0开发。封装了Dapper及其扩展,使用方便快捷。支持SQLServer,PostgreSql,SQLite,MySql四种数据库。需要注意的是SQLite使用时请在项目目录下自行添加X64和X86文件夹及对应的SQLite.Interop.dll。使用方法示例:
DBManager dBManager = new DBManager(DBType.MySql, "server=127.0.0.1;database=test;user=root;password=123456;");
using (var conn = dBManager.Connection)
{
var count = conn.ExecuteScalar("select count(1) from users");
var data = conn.Query("select * from test");
//todo...
}
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. 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 | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- Dapper (>= 1.60.6)
- Microsoft.CSharp (>= 4.0.1)
- MySql.Data (>= 8.0.16)
- Newtonsoft.Json (>= 12.0.1)
- Npgsql (>= 4.0.5)
- System.ComponentModel.Annotations (>= 4.6.0-preview7.19362.9)
- System.Data.SQLite (>= 1.0.110)
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 |
---|---|---|
1.1.10 | 259 | 9/15/2022 |
1.1.9 | 130 | 8/26/2022 |
1.1.8 | 160 | 5/7/2022 |
1.1.7 | 137 | 4/25/2022 |
1.1.6 | 130 | 4/25/2022 |
1.1.5 | 127 | 4/25/2022 |
1.1.4 | 142 | 4/24/2022 |
1.1.3 | 341 | 9/11/2020 |
1.1.2 | 305 | 4/28/2020 |
1.1.1 | 271 | 4/27/2020 |
1.1.0 | 296 | 4/9/2020 |
1.0.9 | 309 | 10/31/2019 |
1.0.8 | 295 | 10/18/2019 |
1.0.7 | 327 | 8/6/2019 |
1.0.6 | 319 | 8/6/2019 |
1.0.5 | 327 | 8/2/2019 |
1.0.4 | 921 | 6/28/2019 |
1.0.3 | 901 | 6/28/2019 |
1.0.2 | 933 | 6/12/2019 |
1.0.1 | 991 | 6/11/2019 |
1.0.0 | 946 | 6/11/2019 |