OrpheusORM 2.1.0
dotnet add package OrpheusORM --version 2.1.0
NuGet\Install-Package OrpheusORM -Version 2.1.0
<PackageReference Include="OrpheusORM" Version="2.1.0" />
<PackageVersion Include="OrpheusORM" Version="2.1.0" />
<PackageReference Include="OrpheusORM" />
paket add OrpheusORM --version 2.1.0
#r "nuget: OrpheusORM, 2.1.0"
#:package OrpheusORM@2.1.0
#addin nuget:?package=OrpheusORM&version=2.1.0
#tool nuget:?package=OrpheusORM&version=2.1.0
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.
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/AddOrpheusPostgreSqland 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/Delete —
Save()sends fewer, larger round trips instead of one per row (tune viaIOrpheusTable.BatchSize) - Performance — cached model metadata +
IDisposableimplementations 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
- OrpheusORM
- Orpheus SQL Server DDL Helper
- Orpheus MySQL Server DDL Helper
- Orpheus PostgreSQL Server DDL Helper
Read more about DDL helpers here. You can also implement your own DDL helper for any ADO.NET-compatible database engine.
| Product | Versions 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. |
-
net9.0
- Microsoft.Extensions.Configuration (>= 9.0.13)
- Microsoft.Extensions.Configuration.Abstractions (>= 9.0.13)
- Microsoft.Extensions.Configuration.Json (>= 9.0.13)
- Microsoft.Extensions.DependencyInjection (>= 9.0.13)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 9.0.13)
- Microsoft.Extensions.Logging (>= 9.0.13)
- Microsoft.Extensions.Logging.Console (>= 9.0.13)
- Microsoft.Extensions.Options (>= 9.0.13)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 9.0.13)
- Microsoft.Extensions.Primitives (>= 9.0.13)
- Newtonsoft.Json (>= 13.0.3)
- OrpheusORMAttributes (>= 2.1.0)
- OrpheusORMInterfaces (>= 2.1.0)
- System.Text.Json (>= 9.0.13)
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 |