Shuttle.Recall.SqlServer.Storage 21.0.0-alpha

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

Shuttle.Recall.SqlServer.Storage

PM> Install-Package Shuttle.Recall.SqlServer.Storage

A Sql Server implementation of the Shuttle.Recall event sourcing EventStore.

Configuration

services.AddSqlEventStorage();

Database

Please reference the Shuttle.Recall.EntityFrameworkCore.SqlServer.Storage package and use the Entity Framework Core migration mechanism to create the event store database structures.

IKeyStore

You are bound to run into situations where you have a business or other key that is required to be unique. Given that the IEventStore makes use of only surrogate keys the IKeyStore is used to create a unique list of keys associated with a given aggregate identifier.

Since the keys used in the key store have to be unique you should ensure that they contain enough information to be unique and have the intended meaning.

A key could be something such as [order-number]:ord-001/2016, [customer-onboarding]:id-number=0000005555089, or [system-name/profile]:672cda1c-c3ec-4f81-a577-e64f9f14e141.

Contains

bool Contains(string key);

Returns true if the given key has an associated aggregate identifier.


bool Contains(Guid id);

Returns true if the given id is present in the key store.


Get

Guid? Get(string key);

Returns the Guid associated with the given key; else null.


Remove

void Remove(string key);
void Remove(Guid id);

When specifying the key the assocation with the identifier will be removed. When specifying the id all keys associated with the given id will be removed.


Add

void Add(Guid id, string key);

Creates an association between the id and the key.


Add

void Rekey(string key, string rekey);

Changes key to a new key specified by rekey.

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 (3)

Showing the top 3 NuGet packages that depend on Shuttle.Recall.SqlServer.Storage:

Package Downloads
Shuttle.Access.Application

Application concern implementations such as Shuttle.Core.Mediator participants.

Shuttle.Recall.SqlServer.EventProcessing

Sql Server event projection processing.

Shuttle.Access.SqlServer

Provides a Sql Server implementation of the data access components used by Shuttle.Access.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
21.0.1-beta 50 2/7/2026
21.0.0-alpha 46 1/18/2026