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
                    
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="Dreamine.Database.FullKit" Version="1.0.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Dreamine.Database.FullKit" Version="1.0.2" />
                    
Directory.Packages.props
<PackageReference Include="Dreamine.Database.FullKit" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Dreamine.Database.FullKit --version 1.0.2
                    
#r "nuget: Dreamine.Database.FullKit, 1.0.2"
                    
#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.
#:package Dreamine.Database.FullKit@1.0.2
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Dreamine.Database.FullKit&version=1.0.2
                    
Install as a Cake Addin
#tool nuget:?package=Dreamine.Database.FullKit&version=1.0.2
                    
Install as a Cake Tool

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 IDbConnection directly 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 IDatabaseProvider API — one Insert<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 helpersEnsureDatabaseExists() + 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.


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

License

MIT

Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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.0.2 101 7/9/2026
1.0.1 90 7/8/2026
1.0.0 99 7/8/2026