Xfty.EntityFrameworkCore
1.0.0-beta.12
dotnet add package Xfty.EntityFrameworkCore --version 1.0.0-beta.12
NuGet\Install-Package Xfty.EntityFrameworkCore -Version 1.0.0-beta.12
<PackageReference Include="Xfty.EntityFrameworkCore" Version="1.0.0-beta.12" />
<PackageVersion Include="Xfty.EntityFrameworkCore" Version="1.0.0-beta.12" />
<PackageReference Include="Xfty.EntityFrameworkCore" />
paket add Xfty.EntityFrameworkCore --version 1.0.0-beta.12
#r "nuget: Xfty.EntityFrameworkCore, 1.0.0-beta.12"
#:package Xfty.EntityFrameworkCore@1.0.0-beta.12
#addin nuget:?package=Xfty.EntityFrameworkCore&version=1.0.0-beta.12&prerelease
#tool nuget:?package=Xfty.EntityFrameworkCore&version=1.0.0-beta.12&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)await new RecordProvider(typeof(Contact), lookup)
.SetPersistenceGateway(new EfPersistenceGateway(dbContext))
.SetInsertMode(InsertMode.Now)
.Supply();
// contact is a real row, inserted through dbContext.SaveChangesAsync() -
// 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 SaveChangesAsync()). One SaveChangesAsync()
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 | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. 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. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- Microsoft.EntityFrameworkCore (>= 3.1.32)
- Xfty (>= 1.0.0-beta.12)
-
net10.0
- Microsoft.EntityFrameworkCore (>= 10.0.11)
- Xfty (>= 1.0.0-beta.12)
-
net8.0
- Microsoft.EntityFrameworkCore (>= 9.0.20)
- Xfty (>= 1.0.0-beta.12)
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 | 55 | 9/18/2026 |
| 1.0.0-beta.11 | 70 | 9/10/2026 |
| 1.0.0-beta.10 | 52 | 9/10/2026 |
| 1.0.0-beta.9 | 44 | 9/10/2026 |
| 1.0.0-beta.8 | 57 | 9/10/2026 |
| 1.0.0-beta.7 | 62 | 9/7/2026 |
| 1.0.0-beta.6 | 58 | 9/7/2026 |
| 1.0.0-beta.5 | 65 | 9/6/2026 |
| 1.0.0-beta.3 | 75 | 9/6/2026 |
| 1.0.0-beta.2 | 65 | 9/6/2026 |
| 1.0.0-beta.1 | 70 | 9/6/2026 |