KamiSama.Repositories.EntityFrameworkCore.Postgresql
10.0.11.1
dotnet add package KamiSama.Repositories.EntityFrameworkCore.Postgresql --version 10.0.11.1
NuGet\Install-Package KamiSama.Repositories.EntityFrameworkCore.Postgresql -Version 10.0.11.1
<PackageReference Include="KamiSama.Repositories.EntityFrameworkCore.Postgresql" Version="10.0.11.1" />
<PackageVersion Include="KamiSama.Repositories.EntityFrameworkCore.Postgresql" Version="10.0.11.1" />
<PackageReference Include="KamiSama.Repositories.EntityFrameworkCore.Postgresql" />
paket add KamiSama.Repositories.EntityFrameworkCore.Postgresql --version 10.0.11.1
#r "nuget: KamiSama.Repositories.EntityFrameworkCore.Postgresql, 10.0.11.1"
#:package KamiSama.Repositories.EntityFrameworkCore.Postgresql@10.0.11.1
#addin nuget:?package=KamiSama.Repositories.EntityFrameworkCore.Postgresql&version=10.0.11.1
#tool nuget:?package=KamiSama.Repositories.EntityFrameworkCore.Postgresql&version=10.0.11.1
KamiSama.Repositories.EntityFrameworkCore.Postgresql
Version: 10.0.0
Description
PostgreSQL registration for KamiSama multi-provider Entity Framework Core DbContexts. It adds scoped keyed context resolution, lazy-loading proxies, migration-history configuration, and process-wide Npgsql compatibility switches.
How to use
dotnet add package KamiSama.Repositories.EntityFrameworkCore.Postgresql --version 10.0.0
Warning: the workspace root version is 10.0.0, but a matching provider package may not be published. The required workspace-version command above is intentionally retained.
Register a concrete context derived from the base context after AddMultiProviderDbContext<TBaseContext>: builder.AddPostgresql<PostgresqlAppDbContext>(). This adds scoped services under the exact postgresql key, enables lazy-loading proxies, and applies the builder migration-history table. It also sets Npgsql.EnableLegacyTimestampBehavior and Npgsql.DisableDateTimeInfinityConversions process-wide, affecting all Npgsql use in the process.
Namespaces
Types
- KamiSama.Repositories.EntityFrameworkCore.Postgresql.MultiProviderDbContextBuilderPostgresqlExtensions - Registers a scoped PostgreSQL context under the exact
postgresqlkey, enables lazy-loading proxies, configures migration history, and sets two process-wide Npgsql compatibility switches.
| Product | Versions 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. |
-
net10.0
- KamiSama.Repositories.EntityFrameworkCore (>= 10.0.11.1)
- Microsoft.EntityFrameworkCore.Proxies (>= 10.0.11)
- Npgsql.EntityFrameworkCore.PostgreSQL (>= 10.0.3)
NuGet packages (5)
Showing the top 5 NuGet packages that depend on KamiSama.Repositories.EntityFrameworkCore.Postgresql:
| Package | Downloads |
|---|---|
|
KamiSama.Modules.Locations.Postgresql
PostgreSQL EF Core context and provider registration for KamiSama.Modules.Locations.Core, including Locations migrations and keyed context resolution. |
|
|
KamiSama.Modules.Ticketing.Postgresql
PostgreSQL EF Core context, provider registration, and migrations for KamiSama.Modules.Ticketing.Core. |
|
|
KamiSama.Modules.Identity.Postgresql
PostgreSQL EF Core provider registration for KamiSama.Modules.Identity.Core. Install it in an Identity host and select the required provider callback so the module can resolve its database context and run startup migrations. |
|
|
KamiSama.Modules.PolicyEngine.Postgresql
PostgreSQL EF Core context registration for PolicyEngine data management; this package currently contains no PolicyEngine migrations. |
|
|
KamiSama.Modules.ServicePlans.Postgresql
PostgreSQL EF Core context registration for ServicePlans Core under the `postgresql` provider key. It configures Npgsql and lazy loading but currently ships no ServicePlans migrations. |
GitHub repositories
This package is not used by any popular GitHub repositories.