SquidStd.Persistence.Abstractions
0.40.1
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package SquidStd.Persistence.Abstractions --version 0.40.1
NuGet\Install-Package SquidStd.Persistence.Abstractions -Version 0.40.1
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="SquidStd.Persistence.Abstractions" Version="0.40.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SquidStd.Persistence.Abstractions" Version="0.40.1" />
<PackageReference Include="SquidStd.Persistence.Abstractions" />
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 SquidStd.Persistence.Abstractions --version 0.40.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: SquidStd.Persistence.Abstractions, 0.40.1"
#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 SquidStd.Persistence.Abstractions@0.40.1
#: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=SquidStd.Persistence.Abstractions&version=0.40.1
#tool nuget:?package=SquidStd.Persistence.Abstractions&version=0.40.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
<h1 align="center">SquidStd.Persistence.Abstractions</h1>
Contracts and DTOs for SquidStd's binary persistence engine. Depend on this package to expose or consume persistence types without pulling in the engine implementation.
Install
dotnet add package SquidStd.Persistence.Abstractions
Key types
| Type | Purpose |
|---|---|
IPersistenceService |
Lifecycle (ISquidStdService) + GetStore<TEntity,TKey>(). |
IEntityStore<TEntity,TKey> |
In-memory CRUD contract (clones on read, journals on write). |
IPersistenceEntityRegistry |
Registry of entity descriptors keyed by typeId/type pair. |
IPersistenceEntityDescriptor<T,TKey> |
Serialize / deserialize / clone / key extraction contract. |
ISnapshotService / IJournalService |
Per-type snapshot and append-only journal contracts. |
PersistenceConfig |
Autosave cadence, file names, save directory, file lock. |
JournalEntry, EntitySnapshotBucket, PersistedBucket, SnapshotFileEnvelope |
Persisted DTOs. |
JournalEntityOperationType |
Upsert / Remove journal operation discriminator. |
SnapshotSaveStartedEvent / SnapshotSaveCompletedEvent |
Snapshot lifecycle events (IEvent). |
Related
- Article: Persistence abstractions
- Tutorial: Persistence
SquidStd.Persistence- the binary persistence engine implementing these contractsSquidStd.Persistence.MessagePack- MessagePack entity descriptors for the engine
License
MIT - part of SquidStd.
| 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- SquidStd.Abstractions (>= 0.40.1)
- SquidStd.Core (>= 0.40.1)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on SquidStd.Persistence.Abstractions:
| Package | Downloads |
|---|---|
|
SquidStd.Persistence
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.41.1 | 101 | 8/5/2026 |
| 0.41.0 | 873 | 7/24/2026 |
| 0.40.1 | 106 | 7/23/2026 |
| 0.40.0 | 460 | 7/21/2026 |
| 0.39.0 | 225 | 7/20/2026 |
| 0.38.0 | 160 | 7/20/2026 |
| 0.37.0 | 237 | 7/17/2026 |
| 0.36.0 | 192 | 7/15/2026 |
| 0.35.0 | 103 | 7/15/2026 |
| 0.34.0 | 113 | 7/14/2026 |
| 0.33.1 | 115 | 7/13/2026 |
| 0.33.0 | 106 | 7/13/2026 |
| 0.32.1 | 107 | 7/13/2026 |
| 0.32.0 | 107 | 7/13/2026 |
| 0.31.0 | 106 | 7/12/2026 |
| 0.30.0 | 106 | 7/12/2026 |
| 0.29.0 | 114 | 7/11/2026 |
| 0.28.0 | 123 | 7/8/2026 |
| 0.27.0 | 119 | 7/7/2026 |
| 0.26.0 | 105 | 7/7/2026 |
Loading failed