Anarchy.Toolkit.Core.Persistence.Abstractions 1.1.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package Anarchy.Toolkit.Core.Persistence.Abstractions --version 1.1.0
                    
NuGet\Install-Package Anarchy.Toolkit.Core.Persistence.Abstractions -Version 1.1.0
                    
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="Anarchy.Toolkit.Core.Persistence.Abstractions" Version="1.1.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Anarchy.Toolkit.Core.Persistence.Abstractions" Version="1.1.0" />
                    
Directory.Packages.props
<PackageReference Include="Anarchy.Toolkit.Core.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 Anarchy.Toolkit.Core.Persistence.Abstractions --version 1.1.0
                    
#r "nuget: Anarchy.Toolkit.Core.Persistence.Abstractions, 1.1.0"
                    
#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 Anarchy.Toolkit.Core.Persistence.Abstractions@1.1.0
                    
#: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=Anarchy.Toolkit.Core.Persistence.Abstractions&version=1.1.0
                    
Install as a Cake Addin
#tool nuget:?package=Anarchy.Toolkit.Core.Persistence.Abstractions&version=1.1.0
                    
Install as a Cake Tool

Anarchy.Toolkit.Core.Persistence.Abstractions

Persistence contracts for applications that should not depend on a particular database provider.

dotnet add package Anarchy.Toolkit.Core.Persistence.Abstractions
  • Use the unit-of-work and async-local flow-context contracts to coordinate persistence operations.
  • Define repositories against the supplied repository and storage-policy abstractions and exceptions.
  • Choose a concrete provider from the toolkit's relational adapters or implement your own.

When to use it

Reference this package from application and domain-facing code that needs repository or transaction contracts but should not depend on a database driver. It defines boundaries, not a connection pool, SQL implementation or database schema.

How to use it

  1. Define application-specific repository interfaces and expose only the operations your use cases need. Implement them in an infrastructure project using the supplied reader, writer or batch contracts where appropriate.
  2. Coordinate related writes through the unit-of-work abstraction, and use the storage-policy and flow-context contracts when implementing an adapter.
  3. In the host, register a concrete provider such as Infrastructure.Persistence.Postgres, Infrastructure.Persistence.Oracle or Infrastructure.Persistence.Mysql. Supply connection and resilience options there, not in application code.

Select transaction boundaries deliberately: the abstractions do not provision databases, retry entire business operations or make external side effects transactional.

See the package catalog and database provider guide.

Releases

1.0.6

  • docs: expand XML docblocks across all projects for the DocFX API reference

1.0.5

  • refactor(src): clean up code style across library packages

1.0.3

  • build: migrate local automation to build tooling

1.0.2

  • docs: expand package guides and release histories

1.0.1

  • Added a package-specific NuGet README.

1.0.0

  • Introduced repository and unit-of-work contracts, storage policies, flow context and persistence exceptions.
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 (2)

Showing the top 2 NuGet packages that depend on Anarchy.Toolkit.Core.Persistence.Abstractions:

Package Downloads
Anarchy.Toolkit.Infrastructure.Persistence.Db

Provider-agnostic relational database implementation of the persistence abstraction: connection pool, Unit of Work, resilience policy, dialect contract, repository bases, service health reports, and the transactional outbox / event store (repository contracts, records, type-id cache, and repository bases; providers supply the dialect and the embedded SQL).

Anarchy.Toolkit.Web

Shared REST API pipeline: startup bases, entry points, middleware, auth, swagger, and presentation helpers.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.0.1 0 11/21/2026
2.0.0 0 11/20/2026
1.1.1 193 11/17/2026
1.1.0 177 11/17/2026
1.0.6 183 11/16/2026
1.0.5 261 11/14/2026
1.0.4 261 11/9/2026
1.0.3 178 11/9/2026
1.0.1 291 11/6/2026
1.0.0 202 11/5/2026

Initial release.