Shuttle.Core.Data.ThreadDatabaseContextScope 20.0.0

Prefix Reserved
dotnet add package Shuttle.Core.Data.ThreadDatabaseContextScope --version 20.0.0                
NuGet\Install-Package Shuttle.Core.Data.ThreadDatabaseContextScope -Version 20.0.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="Shuttle.Core.Data.ThreadDatabaseContextScope" Version="20.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Shuttle.Core.Data.ThreadDatabaseContextScope --version 20.0.0                
#r "nuget: Shuttle.Core.Data.ThreadDatabaseContextScope, 20.0.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.
// Install Shuttle.Core.Data.ThreadDatabaseContextScope as a Cake Addin
#addin nuget:?package=Shuttle.Core.Data.ThreadDatabaseContextScope&version=20.0.0

// Install Shuttle.Core.Data.ThreadDatabaseContextScope as a Cake Tool
#tool nuget:?package=Shuttle.Core.Data.ThreadDatabaseContextScope&version=20.0.0                

Shuttle.Core.Data.ThreadDatabaseContextScope

This package is no longer being maintained as scopes ar eno longer supported. Rather use the DatabaseContextFactory to create a new IDatabaseContext instance where you need it, such as in your repository implementation.

PM> Install-Package Shuttle.Core.Data.ThreadDatabaseContextScope

Provides a mechanism to create a new database context scope per processor thread.

In order to create a new DatabaseContextScope per processor thread the the pools have to be created by calling the Create method on the IProcessorThreadPoolFactory implementation.

Configuration

services.AddThreadDatabaseContextScope();
Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Shuttle.Core.Data.ThreadDatabaseContextScope:

Package Downloads
Shuttle.Recall.Sql.Storage

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

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
20.0.0 86 2/2/2025
17.0.0 256 8/5/2024