OrpheusORMPostgreSQLServerHelper 2.1.0

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

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
2.1.0 91 8/3/2026
2.0.0 97 8/2/2026