OrpheusORM 2.1.0

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

OrpheusORM

OrpheusORM is a module-oriented ORM with built-in schema evolution for .NET — supporting SQL Server, MySQL, and PostgreSQL with full async API, connection pooling, and aggregate-level persistence via the unique Module system.

CI Build

Highlights

  • Async API — full async support across all I/O methods with CancellationToken
  • Connection Pooling — native ADO.NET connection pooling via IOrpheusConnectionFactory
  • PostgreSQL Support — new DDL helper backed by Npgsql
  • Modern DI — constructor injection throughout, with no global state: register with AddOrpheusSqlServer/AddOrpheusMySql/AddOrpheusPostgreSql and everything resolves from your own container
  • Time-ordered keys — auto-generated Guid keys are UUIDv7 by default, and the generator is swappable via IOrpheusKeyGenerator
  • Batched Insert/Update/DeleteSave() sends fewer, larger round trips instead of one per row (tune via IOrpheusTable.BatchSize)
  • Performance — cached model metadata + IDisposable implementations throughout

Overview

Schema creation

OrpheusORM has a built-in schema engine, which you can optionally use to create and/or update your schema, based on your model classes.

Model binding

By default Orpheus assumes that your table names will match your model class names. You can override this with the [TableName] attribute.

Nested data

Using an OrpheusModule you can save nested data (master-detail-subdetail) with just one Save. All master-detail relationships and keys are updated automatically.

Supported Databases

Engine NuGet Package
SQL Server OrpheusORMSQLServerDDLHelper
MySQL OrpheusORMMySQLServerDDLHelper
PostgreSQL OrpheusORMPostgreSQLServerHelper

Try it

OrpheusDemoApi is a runnable ASP.NET Core Minimal API that exercises the schema engine, the Module system, async CRUD and batching against PostgreSQL. It creates its own database and tables on first start:

docker compose -f dockerDevDB.yml up -d postgres
dotnet run --project OrpheusDemoApi

Documentation

To get started, visit Orpheus documentation.

NuGet Packages

Read more about DDL helpers here. You can also implement your own DDL helper for any ADO.NET-compatible database engine.

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

NuGet packages (3)

Showing the top 3 NuGet packages that depend on OrpheusORM:

Package Downloads
OrpheusORMMySQLServerDDLHelper

OrpheusORM MySQL server DDL helper is a helper class, specifically for MySQL database engines.

OrpheusORMSQLServerDDLHelper

OrpheusORM SQL server DDL helper is a helper class, specifically for MS SQL Server database engines.

OrpheusORMPostgreSQLServerHelper

PostgreSQL DDL helper for OrpheusORM. Provides PostgreSQL-specific DDL generation, schema inspection, and type mapping using Npgsql.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.1.0 131 8/3/2026
2.0.0 142 8/2/2026
1.2.1 1,284 10/17/2019
1.2.0 1,085 9/26/2019
1.1.8 1,115 8/15/2019
1.1.7 758 3/22/2019
1.1.6 1,751 1/8/2019
1.1.5 1,286 1/7/2019
1.1.4 1,356 10/26/2018
1.1.3 1,399 9/25/2018
1.1.2 1,528 5/16/2018
1.1.1 1,450 4/18/2018
1.1.0 1,472 3/6/2018
1.0.7 1,249 11/8/2017