KamiSama.Repositories.EntityFrameworkCore 11.0.0.1

dotnet add package KamiSama.Repositories.EntityFrameworkCore --version 11.0.0.1
                    
NuGet\Install-Package KamiSama.Repositories.EntityFrameworkCore -Version 11.0.0.1
                    
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="11.0.0.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="KamiSama.Repositories.EntityFrameworkCore" Version="11.0.0.1" />
                    
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 11.0.0.1
                    
#r "nuget: KamiSama.Repositories.EntityFrameworkCore, 11.0.0.1"
                    
#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@11.0.0.1
                    
#: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=11.0.0.1
                    
Install as a Cake Addin
#tool nuget:?package=KamiSama.Repositories.EntityFrameworkCore&version=11.0.0.1
                    
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 net11.0 is compatible. 
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
11.0.0.1 86 11/21/2026
10.0.14 376 11/8/2026
10.0.13.1 386 10/22/2026
10.0.13 343 10/22/2026
10.0.11.9 427 8/24/2026
10.0.11.8 468 8/22/2026
10.0.11.7 469 8/21/2026
10.0.11.6 443 8/19/2026
10.0.11.5 399 8/18/2026
10.0.11.4 395 8/18/2026
10.0.11.3 377 8/18/2026
10.0.11.2 364 8/18/2026
10.0.11.1 296 8/15/2026
10.0.11 252 8/11/2026
10.0.10.2 269 8/4/2026
10.0.10.1 156 7/31/2026
10.0.10 312 7/30/2026
10.0.9 248 6/20/2026
10.0.7 902 5/1/2026
10.0.6 424 4/16/2026
Loading failed