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
<PackageReference Include="Shuttle.Core.Data.ThreadDatabaseContextScope" Version="20.0.0" />
paket add Shuttle.Core.Data.ThreadDatabaseContextScope --version 20.0.0
#r "nuget: Shuttle.Core.Data.ThreadDatabaseContextScope, 20.0.0"
// 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 | Versions 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. |
-
- Microsoft.Extensions.Hosting (>= 8.0.1)
- Shuttle.Core.Data (>= 20.0.0)
- Shuttle.Core.Threading (>= 20.0.0)
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.