Trellis.Persistence.Abstractions
3.0.0-alpha.524
dotnet add package Trellis.Persistence.Abstractions --version 3.0.0-alpha.524
NuGet\Install-Package Trellis.Persistence.Abstractions -Version 3.0.0-alpha.524
<PackageReference Include="Trellis.Persistence.Abstractions" Version="3.0.0-alpha.524" />
<PackageVersion Include="Trellis.Persistence.Abstractions" Version="3.0.0-alpha.524" />
<PackageReference Include="Trellis.Persistence.Abstractions" />
paket add Trellis.Persistence.Abstractions --version 3.0.0-alpha.524
#r "nuget: Trellis.Persistence.Abstractions, 3.0.0-alpha.524"
#:package Trellis.Persistence.Abstractions@3.0.0-alpha.524
#addin nuget:?package=Trellis.Persistence.Abstractions&version=3.0.0-alpha.524&prerelease
#tool nuget:?package=Trellis.Persistence.Abstractions&version=3.0.0-alpha.524&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.524)
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 |