Dreamine.Database.FullKit
1.0.2
dotnet add package Dreamine.Database.FullKit --version 1.0.2
NuGet\Install-Package Dreamine.Database.FullKit -Version 1.0.2
<PackageReference Include="Dreamine.Database.FullKit" Version="1.0.2" />
<PackageVersion Include="Dreamine.Database.FullKit" Version="1.0.2" />
<PackageReference Include="Dreamine.Database.FullKit" />
paket add Dreamine.Database.FullKit --version 1.0.2
#r "nuget: Dreamine.Database.FullKit, 1.0.2"
#:package Dreamine.Database.FullKit@1.0.2
#addin nuget:?package=Dreamine.Database.FullKit&version=1.0.2
#tool nuget:?package=Dreamine.Database.FullKit&version=1.0.2
Dreamine.Database.FullKit
Dapper-based Dreamine DB access with every supported provider — MySQL, Oracle, SQL Server, SQLite — in one install.
Dreamine.Database.FullKit bundles the Dreamine database abstraction and every provider it ships with. Same repository / same IDatabaseProvider API against whichever engine is behind it — pick the connection string, the rest of your code doesn't change.
Why this bundle exists
Tools that need to work against more than one database engine usually do one of two things:
- write against
IDbConnectiondirectly and reinvent parameter quoting per engine - bring a heavyweight ORM whose migration story doesn't match how the team ships
Dreamine picks a middle path: a thin IDatabaseProvider on top of Dapper, with per-engine implementations that already know how to quote identifiers, map types, and issue CREATE DATABASE IF NOT EXISTS / CREATE TABLE IF NOT EXISTS.
Dreamine.Database.FullKit bundles all four providers so you can start on SQLite in dev, swap to SQL Server in staging, and ship on MySQL in prod — same code, different connection string.
What you get by installing this
- ✅ Uniform
IDatabaseProviderAPI — oneInsert<T>/Query<T>/CreateTable<T>surface across four engines - ✅ Dapper under the hood — micro-ORM performance, no reflection surprises
- ✅ Engine-aware quoting — backticks for MySQL, brackets for SQL Server, double-quotes for Oracle, etc., handled for you
- ✅ Bootstrap helpers —
EnsureDatabaseExists()+CreateTable<T>()for straightforward first-run setup - ✅ Version pinning — abstractions, core, and all four providers pinned together
Who this is for
Use Dreamine.Database.FullKit if you are:
- writing a WPF / desktop tool that has to work against whichever DB the customer has
- prototyping and want SQLite locally with a clear path to MySQL / SQL Server later
- shipping an internal tool where "same code, different connection string" saves real time
Prefer individual packages if you are:
- committed to a single engine — install only that provider (e.g.
Dreamine.Database.MySql) - writing a library and only need the contracts (
Dreamine.Database.Abstractions)
Included packages
| Package | Role |
|---|---|
Dreamine.Database.Abstractions |
IDatabaseProvider contract, shared model types |
Dreamine.Database.Core |
Dapper-based DatabaseProviderBase — CRUD / query / mapping |
Dreamine.Database.MySql |
MySQL provider (via MySqlConnector) |
Dreamine.Database.Oracle |
Oracle provider |
Dreamine.Database.SqlServer |
SQL Server provider |
Dreamine.Database.Sqlite |
SQLite provider |
Installation
dotnet add package Dreamine.Database.FullKit
Or:
<ItemGroup>
<PackageReference Include="Dreamine.Database.FullKit" />
</ItemGroup>
Quick start
using Dreamine.Database.MySql;
var provider = new MySqlDatabaseProvider(
"Server=localhost;Port=3306;Database=dreamine_sample;User ID=root;Password=1234;");
provider.EnsureDatabaseExists();
provider.CreateTable<Customer>();
provider.Insert(new Customer { Name = "Dreamine" });
var all = provider.Query<Customer>("SELECT * FROM Customer");
Swap MySqlDatabaseProvider for SqlServerDatabaseProvider / OracleDatabaseProvider / SqliteDatabaseProvider — the rest of the code is identical.
Related Dreamine FullKits
| FullKit | When to add it |
|---|---|
Dreamine.MVVM.FullKit |
MVVM / DI / source generators for the host app |
Dreamine.UI.FullKit |
Dreamine WPF controls and theme for the operator UI |
Dreamine.Communication.FullKit |
Sockets / serial / RabbitMQ transport |
Dreamine.PLC.FullKit |
PLC protocols to feed the DB |
Dreamine.IO.FullKit |
Fastech Ethernet I/O |
Dreamine.Hybrid.FullKit |
WPF + Blazor hybrid apps |
Links
- Website: https://dreamine.kr
- GitHub: https://github.com/CodeMaru-Dreamine
License
MIT
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. 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. net9.0 was computed. 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. |
-
net8.0
- Dreamine.Database.Abstractions (>= 1.0.1)
- Dreamine.Database.Core (>= 1.0.1)
- Dreamine.Database.MySql (>= 1.0.1)
- Dreamine.Database.Oracle (>= 1.0.1)
- Dreamine.Database.Sqlite (>= 1.0.1)
- Dreamine.Database.SqlServer (>= 1.0.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.