Trellis.Persistence.Abstractions 3.0.0-alpha.721

This is a prerelease version of Trellis.Persistence.Abstractions.
dotnet add package Trellis.Persistence.Abstractions --version 3.0.0-alpha.721
                    
NuGet\Install-Package Trellis.Persistence.Abstractions -Version 3.0.0-alpha.721
                    
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.721" />
                    
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.721" />
                    
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.721
                    
#r "nuget: Trellis.Persistence.Abstractions, 3.0.0-alpha.721"
                    
#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.721
                    
#: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.721&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Trellis.Persistence.Abstractions&version=3.0.0-alpha.721&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 net11.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (4)

Showing the top 4 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.Testing

FluentAssertions extensions and test doubles for Trellis - assert Result, Maybe, and Error types with readable fluent syntax

Trellis.EntityFrameworkCore

EF Core integration for Trellis. Convention-based value converter registration, Result-returning persistence, Maybe/Result query extensions, typed seek pagination, and translated spherical nearby-query expressions.

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.721 62 11/15/2026
3.0.0-alpha.582 196 10/19/2026
3.0.0-alpha.574 290 10/14/2026
3.0.0-alpha.571 115 10/13/2026
3.0.0-alpha.557 194 10/8/2026
3.0.0-alpha.554 153 10/8/2026
3.0.0-alpha.553 95 10/7/2026
3.0.0-alpha.542 157 10/5/2026
3.0.0-alpha.539 118 10/4/2026
3.0.0-alpha.532 165 10/2/2026
3.0.0-alpha.527 131 10/1/2026
3.0.0-alpha.526 99 9/30/2026
3.0.0-alpha.524 102 9/27/2026
3.0.0-alpha.520 122 9/25/2026
3.0.0-alpha.516 273 9/22/2026
3.0.0-alpha.513 111 9/22/2026
3.0.0-alpha.505 235 9/13/2026
3.0.0-alpha.495 298 8/24/2026
3.0.0-alpha.458 285 8/19/2026
3.0.0-alpha.455 194 8/19/2026
Loading failed