Claudalisk.Persistence.Abstractions
0.1.0-alpha.2
See the version list below for details.
dotnet add package Claudalisk.Persistence.Abstractions --version 0.1.0-alpha.2
NuGet\Install-Package Claudalisk.Persistence.Abstractions -Version 0.1.0-alpha.2
<PackageReference Include="Claudalisk.Persistence.Abstractions" Version="0.1.0-alpha.2" />
<PackageVersion Include="Claudalisk.Persistence.Abstractions" Version="0.1.0-alpha.2" />
<PackageReference Include="Claudalisk.Persistence.Abstractions" />
paket add Claudalisk.Persistence.Abstractions --version 0.1.0-alpha.2
#r "nuget: Claudalisk.Persistence.Abstractions, 0.1.0-alpha.2"
#:package Claudalisk.Persistence.Abstractions@0.1.0-alpha.2
#addin nuget:?package=Claudalisk.Persistence.Abstractions&version=0.1.0-alpha.2&prerelease
#tool nuget:?package=Claudalisk.Persistence.Abstractions&version=0.1.0-alpha.2&prerelease
Claudalisk.Persistence.Abstractions
IUnitOfWork and ConcurrencyConflictException, without EF Core or Npgsql types. Handlers and the dispatching library reference this package, and Claudalisk.Persistence implements it.
IUnitOfWork
await unitOfWork.RunAsync(async token =>
{
await ordering.SaveChangesAsync(token);
}, cancellationToken);
RunAsyncruns the work in one transaction. It commits when the work returns and rolls back when the work throws. The overload with a type argument returns what the work returns.- A nested
RunAsyncjoins the outer transaction. It starts none of its own, and the outer call commits or rolls back for both. IsActiveis true while a unit of work runs in the scope.
The dispatcher runs every command in a unit of work, so a handler seldom calls RunAsync itself.
ConcurrencyConflictException
Thrown when a write finds that someone else changed the data since it was read. The dispatcher sends the command again, up to DispatchingOptions.ConcurrencyAttempts times. Other code that catches it should read the data again before it retries. The web package answers 409.
| 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
- No dependencies.
NuGet packages (4)
Showing the top 4 NuGet packages that depend on Claudalisk.Persistence.Abstractions:
| Package | Downloads |
|---|---|
|
Claudalisk.AspNetCore
What every Host needs: one Problem Details handler, conditional writes, HAL members, the health endpoint and module tags in the OpenAPI document. |
|
|
Claudalisk.Dispatching
The in-process dispatcher: handlers found through module registration and a pipeline of logging, validation and the unit of work. |
|
|
Claudalisk.Persistence
One data source, one connection per scope, the unit of work and module DbContexts with their own schemas. |
|
|
Claudalisk.Jobs
Queued work as jobs: queueing in the unit of work, workers with retries, heartbeats, cancel and progress, batch jobs, event fan-out and the jobs router. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.1.0-alpha.5 | 106 | 11/24/2026 |
| 0.1.0-alpha.4 | 180 | 11/22/2026 |
| 0.1.0-alpha.3 | 89 | 11/22/2026 |
| 0.1.0-alpha.2 | 97 | 11/21/2026 |
| 0.1.0-alpha.1 | 693 | 11/8/2026 |