Semantica.Lib.Storage.EntityFramework.SimpleInjector 8.1.0-beta

This is a prerelease version of Semantica.Lib.Storage.EntityFramework.SimpleInjector.
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
                    
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="Semantica.Lib.Storage.EntityFramework.SimpleInjector" Version="8.1.0-beta" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Semantica.Lib.Storage.EntityFramework.SimpleInjector" Version="8.1.0-beta" />
                    
Directory.Packages.props
<PackageReference Include="Semantica.Lib.Storage.EntityFramework.SimpleInjector" />
                    
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 Semantica.Lib.Storage.EntityFramework.SimpleInjector --version 8.1.0-beta
                    
#r "nuget: Semantica.Lib.Storage.EntityFramework.SimpleInjector, 8.1.0-beta"
                    
#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 Semantica.Lib.Storage.EntityFramework.SimpleInjector@8.1.0-beta
                    
#: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=Semantica.Lib.Storage.EntityFramework.SimpleInjector&version=8.1.0-beta&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Semantica.Lib.Storage.EntityFramework.SimpleInjector&version=8.1.0-beta&prerelease
                    
Install as a Cake Tool

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 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. 
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
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