HgLib.DB
1.0.4
See the version list below for details.
dotnet add package HgLib.DB --version 1.0.4
NuGet\Install-Package HgLib.DB -Version 1.0.4
<PackageReference Include="HgLib.DB" Version="1.0.4" />
paket add HgLib.DB --version 1.0.4
#r "nuget: HgLib.DB, 1.0.4"
// Install HgLib.DB as a Cake Addin #addin nuget:?package=HgLib.DB&version=1.0.4 // Install HgLib.DB as a Cake Tool #tool nuget:?package=HgLib.DB&version=1.0.4
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.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 | 254 | 9/15/2022 |
1.1.9 | 127 | 8/26/2022 |
1.1.8 | 157 | 5/7/2022 |
1.1.7 | 134 | 4/25/2022 |
1.1.6 | 127 | 4/25/2022 |
1.1.5 | 124 | 4/25/2022 |
1.1.4 | 139 | 4/24/2022 |
1.1.3 | 338 | 9/11/2020 |
1.1.2 | 302 | 4/28/2020 |
1.1.1 | 268 | 4/27/2020 |
1.1.0 | 293 | 4/9/2020 |
1.0.9 | 306 | 10/31/2019 |
1.0.8 | 292 | 10/18/2019 |
1.0.7 | 324 | 8/6/2019 |
1.0.6 | 316 | 8/6/2019 |
1.0.5 | 324 | 8/2/2019 |
1.0.4 | 918 | 6/28/2019 |
1.0.3 | 898 | 6/28/2019 |
1.0.2 | 930 | 6/12/2019 |
1.0.1 | 986 | 6/11/2019 |
1.0.0 | 943 | 6/11/2019 |