KamiSama.Repositories.EntityFramework
10.0.11.2
See the version list below for details.
dotnet add package KamiSama.Repositories.EntityFramework --version 10.0.11.2
NuGet\Install-Package KamiSama.Repositories.EntityFramework -Version 10.0.11.2
<PackageReference Include="KamiSama.Repositories.EntityFramework" Version="10.0.11.2" />
<PackageVersion Include="KamiSama.Repositories.EntityFramework" Version="10.0.11.2" />
<PackageReference Include="KamiSama.Repositories.EntityFramework" />
paket add KamiSama.Repositories.EntityFramework --version 10.0.11.2
#r "nuget: KamiSama.Repositories.EntityFramework, 10.0.11.2"
#:package KamiSama.Repositories.EntityFramework@10.0.11.2
#addin nuget:?package=KamiSama.Repositories.EntityFramework&version=10.0.11.2
#tool nuget:?package=KamiSama.Repositories.EntityFramework&version=10.0.11.2
KamiSama.Repositories.EntityFramework
Version: 10.0.0
Description
Entity Framework 6 repositories with immediate persistence and ordered-query paging. Use this package to expose tracked EF6 queries through KamiSama repository contracts and produce paged UI or API results.
How to use
dotnet add package KamiSama.Repositories.EntityFramework --version 10.0.0
Construct a repository with an application-owned EF6 context. Mutations save immediately, while queries remain tracked and deferred:
using KamiSama.Extensions.Paging;
using KamiSama.Repositories.EntityFramework;
var repository = new DbRepository<User, AppDbContext>(dbContext);
await repository.AddAsync(new User { Name = "Ada" }, cancellationToken);
PagedResult<User> page = await repository.AsQueryable()
.OrderBy(user => user.Id)
.MakePagedAsync(SearchModel.FromPage(1, 20), cancellationToken);
The repository does not own or dispose the context. Each add, update, or delete calls SaveChanges immediately rather than participating in a repository-level unit of work. Queries track entities by default. Paging requires an ordered query, performs a synchronous uncancellable count before cancellable asynchronous materialization, and uses separate count and data queries.
Namespaces
- KamiSama.Repositories.EntityFramework (3 types)
Types
- KamiSama.Repositories.EntityFramework.DbRepository<TEntity, TDbContext> - EF6 repository over a borrowed
DbContext. Queries track by default, every mutation saves immediately, and repository disposal does not dispose the context. - KamiSama.Repositories.EntityFramework.DbRepository<TEntity> - EF6 repository over a borrowed
DbContext. Queries track by default, every mutation saves immediately, and repository disposal does not dispose the context. - KamiSama.Repositories.EntityFramework.IOrderedQueryableExtensions - Pages ordered EF6 queries by synchronously counting all matches and asynchronously materializing one page. Cancellation does not cover the count, and count and data are separate queries.
| 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
- EntityFramework (>= 6.5.2)
- KamiSama.Extensions.Core (>= 10.0.11.2)
- KamiSama.Repositories.Core (>= 10.0.11.2)
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 |
|---|---|---|
| 10.0.11.9 | 81 | 8/24/2026 |
| 10.0.11.8 | 86 | 8/22/2026 |
| 10.0.11.7 | 89 | 8/21/2026 |
| 10.0.11.6 | 90 | 8/19/2026 |
| 10.0.11.5 | 86 | 8/18/2026 |
| 10.0.11.4 | 95 | 8/18/2026 |
| 10.0.11.3 | 81 | 8/18/2026 |
| 10.0.11.2 | 95 | 8/18/2026 |
| 10.0.11.1 | 89 | 8/15/2026 |
| 10.0.11 | 102 | 8/11/2026 |
| 10.0.10.2 | 104 | 8/4/2026 |
| 10.0.10.1 | 114 | 7/31/2026 |
| 10.0.10 | 114 | 7/30/2026 |
| 10.0.9 | 119 | 6/20/2026 |
| 10.0.7 | 129 | 5/1/2026 |
| 10.0.6 | 131 | 4/16/2026 |
| 10.0.1 | 265 | 11/26/2025 |
| 10.0.0 | 273 | 11/22/2025 |
| 3.1.6 | 266 | 11/7/2025 |
| 3.1.5 | 264 | 11/6/2025 |