Semantica.Lib.Storage.EntityFramework.SimpleInjector
8.1.0-beta
dotnet add package Semantica.Lib.Storage.EntityFramework.SimpleInjector --version 8.1.0-beta
NuGet\Install-Package Semantica.Lib.Storage.EntityFramework.SimpleInjector -Version 8.1.0-beta
<PackageReference Include="Semantica.Lib.Storage.EntityFramework.SimpleInjector" Version="8.1.0-beta" />
<PackageVersion Include="Semantica.Lib.Storage.EntityFramework.SimpleInjector" Version="8.1.0-beta" />
<PackageReference Include="Semantica.Lib.Storage.EntityFramework.SimpleInjector" />
paket add Semantica.Lib.Storage.EntityFramework.SimpleInjector --version 8.1.0-beta
#r "nuget: Semantica.Lib.Storage.EntityFramework.SimpleInjector, 8.1.0-beta"
#:package Semantica.Lib.Storage.EntityFramework.SimpleInjector@8.1.0-beta
#addin nuget:?package=Semantica.Lib.Storage.EntityFramework.SimpleInjector&version=8.1.0-beta&prerelease
#tool nuget:?package=Semantica.Lib.Storage.EntityFramework.SimpleInjector&version=8.1.0-beta&prerelease
Semantica.Lib.Storage.EntityFramework.SimpleInjector
This package is part of the design packages of Semantica.Lib.
Dependencies
- Microsoft.EntityFrameworkCore
- Semantica.Lib.Core
- Semantica.Lib.Core.SimpleInjector
- Semantica.Lib.Domain
- Semantica.Lib.Extensions
- Semantica.Lib.Linq
- Semantica.Lib.Patterns
- Semantica.Lib.Storage
- Semantica.Lib.Storage.Data
- Semantica.Lib.Storage.Data.EntityFramework
- SimpleInjector
- StoredProcedureEFCore
Documentation generated from the XMLDoc:
<a name='assembly'></a>
Lib.Storage.EntityFramework.SimpleInjector
Contents
<a name='T-Semantica-Storage-EntityFramework-SimpleInjector-ModuleExtensions'></a>
ModuleExtensions type
Namespace
Semantica.Storage.EntityFramework.SimpleInjector
<a name='M-Semantica-Storage-EntityFramework-SimpleInjector-ModuleExtensions-RegisterDbContextFactory``1-SimpleInjector-Container-'></a>
RegisterDbContextFactory``1(container) method
Summary
Registers the DbContextFactory`1 using the provided TDbContext
as implementation for both the generic and base type IDbContextFactory.
Parameters
Name | Type | Description |
---|---|---|
container | SimpleInjector.Container | Container to add the registrations to. |
Generic Types
Name | Description |
---|---|
TDbContext | Implementation of DbContext to register. |
Remarks
Registration is done with ScopedLifestyle.
The DbContextFactory`1 implementation is dependent on DbContextOptions`1 being registered. Registration of that dependency in the DI container would by typically done by calling AddDbContext``1 , or one of it's overloads.
<a name='M-Semantica-Storage-EntityFramework-SimpleInjector-ModuleExtensions-RegisterDefaultDbContextFactory-SimpleInjector-Container-'></a>
RegisterDefaultDbContextFactory(container) method
Summary
Registers the untyped DbContextFactory as implementation for the base type IDbContextFactory.
Parameters
Name | Type | Description |
---|---|---|
container | SimpleInjector.Container | Container to add the registrations to. |
Remarks
Registration is done with ScopedLifestyle.
The DbContextFactory implementation is dependent on DbContextOptions`1 being registered. Registration of that dependency in the DI container would by typically done by calling AddDbContext``1 , or one of it's overloads.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. 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. net10.0 was computed. 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. |
-
net6.0
- Microsoft.EntityFrameworkCore (>= 6.0.0)
- Semantica.Lib.Core.SimpleInjector (>= 8.1.0)
- Semantica.Lib.Domain (>= 8.1.0-beta)
- Semantica.Lib.Storage.EntityFramework (>= 8.1.0-beta)
- SimpleInjector (>= 5.4.0)
-
net7.0
- Microsoft.EntityFrameworkCore (>= 6.0.0)
- Semantica.Lib.Core.SimpleInjector (>= 8.1.0)
- Semantica.Lib.Domain (>= 8.1.0-beta)
- Semantica.Lib.Storage.EntityFramework (>= 8.1.0-beta)
- SimpleInjector (>= 5.4.0)
-
net8.0
- Microsoft.EntityFrameworkCore (>= 8.0.0)
- Semantica.Lib.Core.SimpleInjector (>= 8.1.0)
- Semantica.Lib.Domain (>= 8.1.0-beta)
- Semantica.Lib.Storage.EntityFramework (>= 8.1.0-beta)
- SimpleInjector (>= 5.4.0)
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 |
---|---|---|
8.1.0-beta | 83 | 5/30/2025 |
8.0.7-beta | 82 | 9/6/2024 |
8.0.6-beta | 78 | 7/10/2024 |
8.0.5-beta | 77 | 7/4/2024 |
8.0.4-beta | 84 | 7/2/2024 |
8.0.3-beta | 76 | 6/14/2024 |
8.0.2-beta | 77 | 6/4/2024 |
8.0.1-beta | 72 | 6/4/2024 |
8.0.0-beta | 73 | 6/4/2024 |
6.6.1-beta | 82 | 4/5/2024 |
6.6.0-beta | 84 | 3/5/2024 |
6.5.5-alpha2 | 86 | 3/4/2024 |
6.5.4-beta | 87 | 2/29/2024 |
6.5.3-beta | 120 | 10/5/2023 |
6.5.2-beta | 100 | 10/5/2023 |
6.5.1-beta | 112 | 9/29/2023 |
6.5.0-beta | 101 | 9/22/2023 |
6.4.0-beta | 135 | 7/11/2023 |
6.3.0-beta | 134 | 6/15/2023 |
6.2.5-beta | 206 | 3/14/2023 |
6.2.4-beta | 584 | 10/12/2022 |
6.2.3-beta | 270 | 9/1/2022 |
6.2.1-beta | 176 | 8/25/2022 |