QuickORM 1.3.15

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

๐Ÿš€ QuickORM

A lightning-fast, zero-dependency ORM for .NET developers โ€” with EF Core-style migrations but without the baggage.

๐Ÿ”น Code-first.
๐Ÿ”น Pure C#.
๐Ÿ”น No EF Core. No Reflection. Just Results.


โœจ Why QuickORM?

  • โšก Ultra-lightweight: No bloated abstractions. Only what you need.
  • ๐Ÿง  Code-first migrations with a simple Up() method like EF Core
  • ๐Ÿ› ๏ธ Command-line integration with create-migration and apply-migration
  • ๐Ÿงฉ Plays well with MySQL
  • ๐Ÿ”ง Ideal for microservices, tooling, MVPs and dev experiments

QuickORM is perfect for developers who want full control over their database structure โ€“ with minimal ceremony.


๐Ÿ“ฆ Installation

Install it via NuGet:

Install-Package QuickORM

Once installed, create-migration and apply-migration commands become globally available (in Visual Studioโ€™s PMC or PowerShell terminal).


๐Ÿ—๏ธ Getting Started

1. Define your DbContext

using QuickORM;

public class AppDbContext : QuickDbContext
{
    public AppDbContext() : base("server=localhost;database=shopdb;user=root;password=yourpassword") { }
}

2. Create a migration file

create-migration AddProductTable

This creates a file like:

public class AddProductTable : Migration
{
    public override void Up()
    {
        ExecuteSql(@"
            CREATE TABLE Product (
                Id INT AUTO_INCREMENT PRIMARY KEY,
                Name VARCHAR(255) NOT NULL,
                Price DECIMAL(18,2) NOT NULL
            );
        ");
    }
}

3. Apply the migration

apply-migration

QuickORM will create a MigrationHistory table automatically. It avoids running the same migration twice.


๐Ÿšฆ Built-in Commands

Command Description
create-migration X Generates a new migration file
apply-migration Applies all pending migrations to MySQL

All commands are available via PowerShell thanks to install.ps1.


๐Ÿ”’ Requirements

  • โœ… .NET 6.0 or higher
  • โœ… MySQL (tested with 8+)
  • โŒ No EF Core
  • โŒ No third-party dependencies

๐Ÿงฉ Real-world Use Cases

  • โš™๏ธ Internal business apps
  • ๐Ÿงช Experimental DB schema designs
  • ๐Ÿงฌ Dev tooling / personal utilities
  • ๐ŸŽฎ Game save data schema management
  • ๐Ÿงฑ Microservices needing custom data access

๐Ÿค Contributing

Open an issue. Fork and PR. Or just star the repo.

Every bit of support makes QuickORM better for the community โค๏ธ


๐Ÿง  Author

Made with โ˜• and โค๏ธ by Emil
Follow me for more lightweight, pragmatic .NET tools!

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.3.15 159 4/20/2025
1.3.14 158 4/20/2025
1.3.13 161 4/20/2025
1.3.12 88 4/19/2025
1.3.11 84 4/19/2025
1.3.10 91 4/19/2025
1.3.9 186 4/17/2025
1.3.8 182 4/17/2025
1.3.7 187 4/17/2025
1.3.6 183 4/17/2025
1.3.5 189 4/17/2025
1.3.4 183 4/17/2025
1.3.3 187 4/17/2025
1.3.2 187 4/16/2025
1.3.1 182 4/16/2025
1.3.0 187 4/16/2025
1.2.9 194 4/15/2025
1.2.8 192 4/15/2025
1.2.7 186 4/15/2025
1.2.6 188 4/15/2025
1.2.5 189 4/14/2025
1.2.4 187 4/14/2025
1.2.3 181 4/14/2025
1.2.2 174 4/13/2025
1.2.1 174 4/13/2025
1.2.0 177 4/13/2025
1.1.6 176 4/13/2025
1.1.5 175 4/13/2025
1.1.4 129 4/13/2025
1.1.2 126 4/12/2025
1.1.1 96 4/12/2025
1.1.0 96 4/11/2025
1.0.2 95 4/11/2025
1.0.1 96 4/11/2025
1.0.0 106 4/11/2025