Excalibur.Data.IdentityMap.SqlServer 3.0.0-alpha.192

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

Excalibur.Data.IdentityMap.SqlServer

SQL Server implementation of the Excalibur aggregate identity map store.

Setup

1. Create the table

CREATE TABLE [dbo].[IdentityMap] (
    ExternalSystem  NVARCHAR(128) NOT NULL,
    ExternalId      NVARCHAR(256) NOT NULL,
    AggregateType   NVARCHAR(256) NOT NULL,
    AggregateId     NVARCHAR(256) NOT NULL,
    CreatedAt       DATETIMEOFFSET NOT NULL CONSTRAINT DF_IdentityMap_CreatedAt DEFAULT SYSUTCDATETIME(),
    UpdatedAt       DATETIMEOFFSET NOT NULL CONSTRAINT DF_IdentityMap_UpdatedAt DEFAULT SYSUTCDATETIME(),

    CONSTRAINT PK_IdentityMap PRIMARY KEY CLUSTERED (ExternalSystem, ExternalId, AggregateType),
    INDEX IX_IdentityMap_AggregateId (AggregateType, AggregateId)
);

2. Register the provider

services.AddIdentityMap(identity =>
{
    identity.UseSqlServer(sql =>
    {
        sql.ConnectionString(connectionString)
           .SchemaName("dbo")
           .TableName("IdentityMap");
    });
});

Features

  • No TVPs required -- batch lookups use parameterized IN clauses
  • Configurable batch size -- default 100, automatically chunks larger batches
  • MERGE-based upsert -- atomic bind operations
  • Conflict detection -- TryBind detects duplicate key violations and returns existing mappings
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

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
3.0.0-alpha.216 39 6/30/2026
3.0.0-alpha.215 56 6/23/2026
3.0.0-alpha.214 55 6/23/2026
3.0.0-alpha.208 49 6/11/2026
3.0.0-alpha.207 54 6/11/2026
3.0.0-alpha.205 52 6/10/2026
3.0.0-alpha.204 57 6/8/2026
3.0.0-alpha.203 53 6/8/2026
3.0.0-alpha.202 55 6/8/2026
3.0.0-alpha.201 54 6/8/2026
3.0.0-alpha.199 48 6/8/2026
3.0.0-alpha.198 46 5/28/2026
3.0.0-alpha.197 66 5/28/2026
3.0.0-alpha.194 59 5/20/2026
3.0.0-alpha.193 57 5/13/2026
3.0.0-alpha.192 58 5/13/2026
3.0.0-alpha.191 56 5/13/2026
3.0.0-alpha.189 48 5/12/2026
3.0.0-alpha.187 51 5/8/2026
3.0.0-alpha.185 48 5/7/2026
Loading failed