KamiSama.Repositories.EntityFrameworkCore 10.0.11.8

There is a newer version of this package available.
See the version list below for details.
dotnet add package KamiSama.Repositories.EntityFrameworkCore --version 10.0.11.8
                    
NuGet\Install-Package KamiSama.Repositories.EntityFrameworkCore -Version 10.0.11.8
                    
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="KamiSama.Repositories.EntityFrameworkCore" Version="10.0.11.8" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="KamiSama.Repositories.EntityFrameworkCore" Version="10.0.11.8" />
                    
Directory.Packages.props
<PackageReference Include="KamiSama.Repositories.EntityFrameworkCore" />
                    
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 KamiSama.Repositories.EntityFrameworkCore --version 10.0.11.8
                    
#r "nuget: KamiSama.Repositories.EntityFrameworkCore, 10.0.11.8"
                    
#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 KamiSama.Repositories.EntityFrameworkCore@10.0.11.8
                    
#: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=KamiSama.Repositories.EntityFrameworkCore&version=10.0.11.8
                    
Install as a Cake Addin
#tool nuget:?package=KamiSama.Repositories.EntityFrameworkCore&version=10.0.11.8
                    
Install as a Cake Tool

KamiSama.Repositories.EntityFrameworkCore

Back to package index

Version: 10.0.0

Description

Entity Framework Core repositories, paging, database initialization, and multi-provider DbContext registration. Use it for tracked repository access, migration and seed workflows, or configuration-selected provider contexts.

How to use

dotnet add package KamiSama.Repositories.EntityFrameworkCore --version 10.0.0

Register the base context from configuration, set one shared migration-history table, and add each installed concrete provider context through its generic extension:

using KamiSama.Repositories.EntityFrameworkCore;
using KamiSama.Repositories.EntityFrameworkCore.Postgresql;
using KamiSama.Repositories.EntityFrameworkCore.Sqlite;

services.AddMultiProviderDbContext<AppDbContext>(configuration.GetSection("Database"))
    .WithMigrationHistoryTable("__AppMigrationsHistory")
    .AddPostgresql<PostgresqlAppDbContext>()
    .AddSqlite<SqliteAppDbContext>();

Configuration uses the provider and connection-string keys. Provider lookup lowercases the configured value, and installed providers register exact postgresql or sqlite keys. Contexts and the keyed base-context alias are scoped. Provider packages enable lazy-loading proxies and apply the configured migration-history table.

DbRepository<TEntity> borrows its context, does not dispose it, tracks queries by default, and saves every mutation immediately. MakePagedAsync<T> requires caller-supplied deterministic ordering, counts synchronously without cancellation, then materializes asynchronously in a separate query. Initializer stages run sequentially without a transaction supplied by the base class.

Namespaces

Types

Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (14)

Showing the top 5 NuGet packages that depend on KamiSama.Repositories.EntityFrameworkCore:

Package Downloads
KamiSama.Chassis.Commons

Reusable feature and repository base classes for common CRUD-style application flows. Use this package when building service-layer features around entities, DTOs, repositories, and paged results.

Polareum.Commons.Repositories

Package Description

Polareum.Contents.Core

Package Description

KamiSama.Repositories.EntityFrameworkCore.Sqlite

SQLite registration for KamiSama multi-provider Entity Framework Core DbContexts.

KamiSama.Repositories.EntityFrameworkCore.Postgresql

PostgreSQL registration for KamiSama multi-provider Entity Framework Core DbContexts.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
10.0.11.9 333 8/24/2026
10.0.11.8 413 8/22/2026
10.0.11.7 417 8/21/2026
10.0.11.6 392 8/19/2026
10.0.11.5 350 8/18/2026
10.0.11.4 353 8/18/2026
10.0.11.3 332 8/18/2026
10.0.11.2 317 8/18/2026
10.0.11.1 247 8/15/2026
10.0.11 208 8/11/2026
10.0.10.2 224 8/4/2026
10.0.10.1 117 7/31/2026
10.0.10 269 7/30/2026
10.0.9 212 6/20/2026
10.0.7 876 5/1/2026
10.0.6 397 4/16/2026
10.0.1 421 11/26/2025
10.0.0 281 11/22/2025
3.1.6 284 11/7/2025
3.1.5 280 11/6/2025
Loading failed