Trellis.Persistence.Abstractions
3.0.0-alpha.520
See the version list below for details.
dotnet add package Trellis.Persistence.Abstractions --version 3.0.0-alpha.520
NuGet\Install-Package Trellis.Persistence.Abstractions -Version 3.0.0-alpha.520
<PackageReference Include="Trellis.Persistence.Abstractions" Version="3.0.0-alpha.520" />
<PackageVersion Include="Trellis.Persistence.Abstractions" Version="3.0.0-alpha.520" />
<PackageReference Include="Trellis.Persistence.Abstractions" />
paket add Trellis.Persistence.Abstractions --version 3.0.0-alpha.520
#r "nuget: Trellis.Persistence.Abstractions, 3.0.0-alpha.520"
#:package Trellis.Persistence.Abstractions@3.0.0-alpha.520
#addin nuget:?package=Trellis.Persistence.Abstractions&version=3.0.0-alpha.520&prerelease
#tool nuget:?package=Trellis.Persistence.Abstractions&version=3.0.0-alpha.520&prerelease
Trellis.Persistence.Abstractions
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
IUnitOfWorkandIUnitOfWorkScopedefine a nested, ownership-aware commit boundary.IInboxStoreandInboxRecorddefine transactional message deduplication without selecting a database.IConsumerCheckpointStorestores an optional pull-consumer resume position.- All contracts live in the
Trellisnamespace and depend only onTrellis.Core. - EF Core implementations ship in
Trellis.EntityFrameworkCoreandTrellis.EntityFrameworkCore.Inbox; adapters for other stores can implement the same contracts directly.
Documentation
| Product | Versions 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. |
-
net10.0
- OpenTelemetry.Api (>= 1.18.0)
- Trellis.Core (>= 3.0.0-alpha.520)
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.526 | 0 | 9/30/2026 |
| 3.0.0-alpha.524 | 68 | 9/27/2026 |
| 3.0.0-alpha.520 | 95 | 9/25/2026 |
| 3.0.0-alpha.516 | 188 | 9/22/2026 |
| 3.0.0-alpha.513 | 92 | 9/22/2026 |
| 3.0.0-alpha.505 | 216 | 9/13/2026 |
| 3.0.0-alpha.495 | 274 | 8/24/2026 |
| 3.0.0-alpha.458 | 264 | 8/19/2026 |
| 3.0.0-alpha.455 | 169 | 8/19/2026 |
| 3.0.0-alpha.449 | 123 | 8/18/2026 |
| 3.0.0-alpha.447 | 121 | 8/18/2026 |
| 3.0.0-alpha.432 | 171 | 7/6/2026 |
| 3.0.0-alpha.428 | 153 | 7/3/2026 |
| 3.0.0-alpha.425 | 179 | 6/27/2026 |
| 3.0.0-alpha.419 | 117 | 6/24/2026 |
| 3.0.0-alpha.418 | 276 | 6/23/2026 |
| 3.0.0-alpha.417 | 115 | 6/23/2026 |