NettyApps.Base.Dapper
1.1.0
dotnet add package NettyApps.Base.Dapper --version 1.1.0
NuGet\Install-Package NettyApps.Base.Dapper -Version 1.1.0
<PackageReference Include="NettyApps.Base.Dapper" Version="1.1.0" />
<PackageVersion Include="NettyApps.Base.Dapper" Version="1.1.0" />
<PackageReference Include="NettyApps.Base.Dapper" />
paket add NettyApps.Base.Dapper --version 1.1.0
#r "nuget: NettyApps.Base.Dapper, 1.1.0"
#:package NettyApps.Base.Dapper@1.1.0
#addin nuget:?package=NettyApps.Base.Dapper&version=1.1.0
#tool nuget:?package=NettyApps.Base.Dapper&version=1.1.0
NettyApps.Base.Dapper
This package contains Interfaces and classes for DB access through dapper. It has support for SQL Server, MySQL, SQLite and PostgreSQL.
Driver information
SSQL Server and SQLite drivers are Microsoft.Data.SqlClient and Microsoft.Data.Sqlite.Core.
MySQL Driver
https://mysqlconnector.net/
https://www.nuget.org/packages/MySqlConnector
MySqlConnector is a C# ADO.NET driver for MySQL Server, MariaDB, Amazon Aurora, Azure Database for MySQL, Google Cloud SQL for MySQL, Percona Server and more. It provides implementations of DbConnection, DbCommand, DbDataReader, DbTransaction — the classes needed to query and update databases from C# code.
PostgreSQL Driver
https://www.npgsql.org/
https://github.com/npgsql/npgsql?tab=readme-ov-file
https://www.nuget.org/packages/npgsql/
Npgsql is the open source .NET data provider for PostgreSQL. It allows you to connect and interact with PostgreSQL server using .NET.
DB Selection
If not specified, the default DB is SQL Server.
DB Selection in the appsettings.json file
To select the DB, set the DBType in the appsettings.json file.
json "AppSettings": { "DBType": "SQLServer" }
Valid values are SQLServer, MySQL, SQLite and PostgreSQL.
DB Selection in the Environemnt Variables
To select the DB, set the DBType in the Environment Variables.
bash DBType=SQLServer
Global usage to include
global using NettyApps.Base.Dapper;
Netty Dependencies
This package depends on NettyApps.Base.AppSettings
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net9.0
- Dapper (>= 2.1.66)
- Microsoft.Data.SqlClient (>= 6.0.2)
- Microsoft.Data.Sqlite.Core (>= 9.0.6)
- MySqlConnector (>= 2.4.0)
- NettyApps.Base.AppSettings (>= 1.0.1)
- Npgsql (>= 9.0.3)
- Serilog.Extensions.Logging (>= 9.0.2)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on NettyApps.Base.Dapper:
Package | Downloads |
---|---|
NettyApps.Base.Core.Current
This package contains readonly admin table access. |
|
NettyApps.Base.OpenAPI
This package contains objects for the Netty OpenAPI Scalar support and health check |
GitHub repositories
This package is not used by any popular GitHub repositories.