Dreamine.Database.Core 1.0.1

dotnet add package Dreamine.Database.Core --version 1.0.1
                    
NuGet\Install-Package Dreamine.Database.Core -Version 1.0.1
                    
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.Core" Version="1.0.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Dreamine.Database.Core" Version="1.0.1" />
                    
Directory.Packages.props
<PackageReference Include="Dreamine.Database.Core" />
                    
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.Core --version 1.0.1
                    
#r "nuget: Dreamine.Database.Core, 1.0.1"
                    
#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.Core@1.0.1
                    
#: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.Core&version=1.0.1
                    
Install as a Cake Addin
#tool nuget:?package=Dreamine.Database.Core&version=1.0.1
                    
Install as a Cake Tool

Dreamine.Database.Core

Dreamine.Database.Core provides the shared runtime implementation used by concrete Dreamine database providers.

Korean documentation

Package Role

This package implements provider-independent CRUD, SQL generation, entity mapping, Dapper integration, and database-provider base behavior.

Dreamine.Database.Abstractions
        ↑
Dreamine.Database.Core
        ↑
SQLite / MySQL / Oracle / SQL Server providers

Concrete providers supply connection creation, identifier quoting, provider-specific SQL types, and table creation dialects.

Features

  • Attribute-based entity map generation
  • Common DatabaseProviderBase
  • Dapper-backed command, scalar, query, insert, update, and delete operations
  • Provider-specific extension points for SQL type mapping and identifier quoting
  • Guarded CreateTable<T>() flow that skips existing tables
  • Sync and async implementations for the common provider contract

Provider Extension Points

Member Purpose
CreateConnection() Creates the concrete ADO.NET connection.
QuoteIdentifier(string) Quotes table and column names for the provider dialect.
GetSqlType(DatabasePropertyMap) Maps CLR property types to provider SQL types.
BuildCreateTableSql(DatabaseEntityMap) Builds provider-specific table creation SQL.
ParameterPrefix Selects parameter prefix such as @ or :.

Design Principles

  • Keep shared CRUD behavior in one place.
  • Keep vendor drivers out of the core package.
  • Keep SQL dialect differences inside concrete providers.
  • Preserve the same application-facing API for every provider.

Dependencies

  • Dreamine.Database.Abstractions
  • Dapper

Target Framework

net8.0
  • Dreamine.Database.Abstractions
  • Dreamine.Database.Sqlite
  • Dreamine.Database.MySql
  • Dreamine.Database.Oracle
  • Dreamine.Database.SqlServer

Samples and Tests

  • Unit tests: 20_SOURCES/200. Tests/Dreamine.FullKit.Tests/Database
  • WPF sample: 20_SOURCES/998. DEMO/000. Sample/010. Wpfs/SampleSmart/Pages/PageSub/PageDatabase.xaml

License

MIT License

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 (5)

Showing the top 5 NuGet packages that depend on Dreamine.Database.Core:

Package Downloads
Dreamine.Database.FullKit

All-in-one meta package for Dreamine Database libraries. Includes Abstractions, Core, and providers for MySQL, Oracle, SQL Server, and SQLite.

Dreamine.Database.SqlServer

SQL Server provider for Dreamine Database.

Dreamine.Database.MySql

MySQL provider for Dreamine Database.

Dreamine.Database.Sqlite

SQLite provider for Dreamine Database.

Dreamine.Database.Oracle

Oracle provider for Dreamine Database.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.1 200 7/8/2026
1.0.0 184 7/8/2026