Shuttle.Recall.Sql.Storage 14.0.0 The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. Prefix Reserved

.NET Standard 2.0
Install-Package Shuttle.Recall.Sql.Storage -Version 14.0.0
dotnet add package Shuttle.Recall.Sql.Storage --version 14.0.0
<PackageReference Include="Shuttle.Recall.Sql.Storage" Version="14.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Shuttle.Recall.Sql.Storage --version 14.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Shuttle.Recall.Sql.Storage, 14.0.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Shuttle.Recall.Sql.Storage as a Cake Addin
#addin nuget:?package=Shuttle.Recall.Sql.Storage&version=14.0.0

// Install Shuttle.Recall.Sql.Storage as a Cake Tool
#tool nuget:?package=Shuttle.Recall.Sql.Storage&version=14.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Sql Server

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

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

Registration

The required components may be registered by calling ComponentRegistryExtensions.RegisterEventStoreStorage(IComponentRegistry).

Event Store

// use any of the supported DI containers
var container = new WindsorComponentContainer(new WindsorContainer());

container.RegisterEventStoreStorage();

var eventStore = container.Resolve<IEventStore>();

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 Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
.NET Core netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.0 netstandard2.1
.NET Framework net461 net462 net463 net47 net471 net472 net48
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen40 tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (3)

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

Package Downloads
Shuttle.Recall.Sql.EventProcessing The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

Sql-based implementation of the event store Shuttle.Recall projection interfaces.

Shuttle.Access.Sql The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

Provides Sql-based implementation of data access components for use with Shuttle.Access implementations.

Shuttle.Access.Application The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

A client component that calls the Shuttle.Access.WebApi to interact with the Shuttle.Access Identity and Access Management domain.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
14.0.0 141 5/29/2022
13.1.1 69 5/6/2022
13.1.0 81 5/6/2022
13.0.2 110 4/9/2022
13.0.1 108 4/9/2022
13.0.0 91 3/21/2022
12.0.2 989 2/4/2021
12.0.1 385 11/8/2020
11.0.1 434 9/1/2020
11.0.0 555 8/21/2019
10.2.0 499 5/27/2019
10.1.4 604 9/22/2018
10.1.3 794 9/16/2018
10.0.3 637 8/7/2018
10.0.2 925 7/8/2018
10.0.0 1,986 2/13/2018
8.0.11 760 10/14/2017
8.0.10 700 8/6/2017
8.0.9 1,038 7/2/2017
8.0.8 787 7/1/2017