Xfty.EntityFrameworkCore
1.0.0-beta.2
See the version list below for details.
dotnet add package Xfty.EntityFrameworkCore --version 1.0.0-beta.2
NuGet\Install-Package Xfty.EntityFrameworkCore -Version 1.0.0-beta.2
<PackageReference Include="Xfty.EntityFrameworkCore" Version="1.0.0-beta.2" />
<PackageVersion Include="Xfty.EntityFrameworkCore" Version="1.0.0-beta.2" />
<PackageReference Include="Xfty.EntityFrameworkCore" />
paket add Xfty.EntityFrameworkCore --version 1.0.0-beta.2
#r "nuget: Xfty.EntityFrameworkCore, 1.0.0-beta.2"
#:package Xfty.EntityFrameworkCore@1.0.0-beta.2
#addin nuget:?package=Xfty.EntityFrameworkCore&version=1.0.0-beta.2&prerelease
#tool nuget:?package=Xfty.EntityFrameworkCore&version=1.0.0-beta.2&prerelease
Xfty.EntityFrameworkCore
The real, database-backed IPersistenceGateway for
Xfty - the piece that makes
InsertMode.Now and .DepthBatched() actually persist, proven against a
real Entity Framework Core DbContext (SQLite and a real Postgres
container) rather than a mock.
dotnet add package Xfty.EntityFrameworkCore
Usage
using Net.Nowhereatall.Xfty.EntityFrameworkCore;
Contact contact = (Contact)new RecordProvider(typeof(Contact), lookup)
.SetPersistenceGateway(new EfPersistenceGateway(dbContext))
.SetInsertMode(InsertMode.Now)
.Supply();
// contact is a real row, inserted through dbContext.SaveChanges() -
// including its required Account, inserted first.
A string-typed Id left unset is filled with a fresh GUID before Add - the
common shape for a string primary key, which EF Core has no built-in
generator for (an integer identity column is left untouched; EF already
populates that on its own after SaveChanges()). One SaveChanges() call
per depth-batched layer when used with .DepthBatched().
Full documentation
- Insert modes -
MockvsNow, and what a configuredIPersistenceGatewaychanges - Deferred insert -
.DepthBatched(), dependency-ordered inserts across mixed record types - Unit vs. integration tests - the same Provider definitions serving both
- Everything else
Xftydoes
| 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
- Microsoft.EntityFrameworkCore (>= 10.0.11)
- Xfty (>= 1.0.0-beta.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 |
|---|---|---|
| 1.0.0-beta.12 | 56 | 9/18/2026 |
| 1.0.0-beta.11 | 72 | 9/10/2026 |
| 1.0.0-beta.10 | 54 | 9/10/2026 |
| 1.0.0-beta.9 | 46 | 9/10/2026 |
| 1.0.0-beta.8 | 58 | 9/10/2026 |
| 1.0.0-beta.7 | 63 | 9/7/2026 |
| 1.0.0-beta.6 | 59 | 9/7/2026 |
| 1.0.0-beta.5 | 66 | 9/6/2026 |
| 1.0.0-beta.3 | 76 | 9/6/2026 |
| 1.0.0-beta.2 | 66 | 9/6/2026 |
| 1.0.0-beta.1 | 71 | 9/6/2026 |