Trellis.Persistence.Abstractions 3.0.0-alpha.524

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

Trellis.Persistence.Abstractions

NuGet Package

Store-neutral persistence contracts for Trellis unit-of-work and idempotent-consumer integrations.

Installation

dotnet add package Trellis.Persistence.Abstractions

Quick Example

using Trellis;

static async Task<Result<Unit>> CommitAsync(
    IUnitOfWork unitOfWork,
    CancellationToken cancellationToken)
{
    using var scope = unitOfWork.BeginScope();
    return await unitOfWork.CommitAsync(cancellationToken);
}

Key Features

  • IUnitOfWork and IUnitOfWorkScope define a nested, ownership-aware commit boundary.
  • IInboxStore and InboxRecord define transactional message deduplication without selecting a database.
  • IConsumerCheckpointStore stores an optional pull-consumer resume position.
  • All contracts live in the Trellis namespace and depend only on Trellis.Core.
  • EF Core implementations ship in Trellis.EntityFrameworkCore and Trellis.EntityFrameworkCore.Inbox; adapters for other stores can implement the same contracts directly.

Documentation

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  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 Trellis.Persistence.Abstractions:

Package Downloads
Trellis.Mediator

Result-aware pipeline behaviors for martinothamar/Mediator. Provides validation, authorization, logging, tracing, and exception handling behaviors that understand Trellis Result types and short-circuit correctly.

Trellis.EntityFrameworkCore

EF Core integration for Trellis. Convention-based value converter registration for Trellis primitives, Result-returning SaveChanges wrappers, Maybe/Result query extensions, and provider-agnostic database exception classification.

Trellis.EntityFrameworkCore.Inbox

Transactional inbox for Trellis — the consume-side complement to the outbox. Makes integration-event consumption idempotent: redeliveries of the same message are deduplicated by message id within the consumer's unit of work, so a handler's side effects commit exactly once. EF Core reference store.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
3.0.0-alpha.524 52 9/27/2026
3.0.0-alpha.520 83 9/25/2026
3.0.0-alpha.516 178 9/22/2026
3.0.0-alpha.513 83 9/22/2026
3.0.0-alpha.505 215 9/13/2026
3.0.0-alpha.495 274 8/24/2026
3.0.0-alpha.458 262 8/19/2026
3.0.0-alpha.455 167 8/19/2026
3.0.0-alpha.449 122 8/18/2026
3.0.0-alpha.447 120 8/18/2026
3.0.0-alpha.432 170 7/6/2026
3.0.0-alpha.428 152 7/3/2026
3.0.0-alpha.425 178 6/27/2026
3.0.0-alpha.419 117 6/24/2026
3.0.0-alpha.418 275 6/23/2026
3.0.0-alpha.417 114 6/23/2026