![]() |
VOOZH | about |
dotnet add package Franz.Common.EntityFramework --version 2.2.7
NuGet\Install-Package Franz.Common.EntityFramework -Version 2.2.7
<PackageReference Include="Franz.Common.EntityFramework" Version="2.2.7" />
<PackageVersion Include="Franz.Common.EntityFramework" Version="2.2.7" />Directory.Packages.props
<PackageReference Include="Franz.Common.EntityFramework" />Project file
paket add Franz.Common.EntityFramework --version 2.2.7
#r "nuget: Franz.Common.EntityFramework, 2.2.7"
#:package Franz.Common.EntityFramework@2.2.7
#addin nuget:?package=Franz.Common.EntityFramework&version=2.2.7Install as a Cake Addin
#tool nuget:?package=Franz.Common.EntityFramework&version=2.2.7Install as a Cake Tool
Current Version: v2.2.7
βPragmatic EF Core persistence libraryβ
Framework-managed transactional persistence engine with opt-in orchestration
Persistence is no longer a repository responsibility β it is a framework-controlled consistency boundary.
Repositories may persist immediately for isolated operations:
β οΈ Not intended for multi-aggregate consistency
Explicit transactional boundary:
await repo.AddAsync(entity);
await repo.AddRangeAsync(entities);
await unitOfWork.SaveChangesAsync();
Used for:
Command β PipelineBehavior β Transaction Scope β Commit
Used for:
DbContextBase is now explicitly:
The transactional execution engine of the framework
βDbContext applies behaviorβ
βDbContext executes framework-defined transactional rulesβ
public class EntityRepository<TDbContext, TEntity>
AddRangeAsyncUpdateRangeAsyncDeleteRangeAsyncSoftDeleteRangeAsyncRepositories describe what changes, not when changes are committed
public interface IUnitOfWork
{
Task<int> SaveChangesAsync(CancellationToken cancellationToken = default);
}
If multiple aggregates are involved, UnitOfWork is mandatory.
Still applies globally:
DELETE β IsDeleted = true
Events are emitted only after UnitOfWork commit success OR pipeline completion.
Still:
public abstract class Entity<TId>
services.AddUnitOfWork<TDbContext>();
βEnable explicit transactional orchestration modeβ
Still:
DOMAIN LAYER
βββ Entity<TId>
βββ Aggregates
βββ Domain Events
APPLICATION LAYER
βββ CQRS
βββ SnapshotResolver
βββ Orchestration Services
FRAMEWORK LAYER (Franz 2.2.1)
βββ EntityRepository (intent-only)
βββ AddRange / UpdateRange / DeleteRange
βββ UnitOfWork (transaction boundary)
βββ PersistenceBehavior (pipeline transaction scope)
INFRASTRUCTURE LAYER
βββ DbContextBase (execution engine)
βββ ChangeTracker
βββ Soft Delete filter
βββ Event dispatcher
EF CORE LAYER
βββ DbSet<TEntity>
βββ SQL translation
βββ transaction execution
Franz.Common.EntityFramework v2.2.1 is now:
β not just EF abstraction β not just repository simplification β not CRUD wrapper anymore β a transactional orchestration framework
This framework no longer abstracts Entity Framework β it formalizes deterministic persistence boundaries over it, ensuring consistency across complex domain simulations and multi-aggregate workflows.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 net10.0 is compatible. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
Showing the top 5 NuGet packages that depend on Franz.Common.EntityFramework:
| Package | Downloads |
|---|---|
|
Franz.Common.EntityFramework.MariaDB
Shared utility library for the Franz Framework. |
|
|
Franz.Common.EntityFramework.SQLServer
Shared utility library for the Franz Framework. |
|
|
Franz.Common.EntityFramework.PostGres
Shared utility library for the Franz Framework. |
|
|
Franz.Common.MongoDB
Shared utility library for the Franz Framework. |
|
|
Franz.Common.SSO
Shared utility library for the Franz Framework. |
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2.2.7 | 209 | 6/7/2026 |
| 2.2.6 | 211 | 6/6/2026 |
| 2.2.5 | 213 | 6/4/2026 |
| 2.2.4 | 202 | 6/3/2026 |
| 2.2.3 | 199 | 6/2/2026 |
| 2.2.2 | 195 | 6/2/2026 |
| 2.2.1 | 202 | 5/24/2026 |
| 2.1.4 | 190 | 4/27/2026 |
| 2.1.3 | 173 | 4/26/2026 |
| 2.1.2 | 176 | 4/26/2026 |
| 2.1.1 | 187 | 4/22/2026 |
| 2.0.2 | 185 | 3/30/2026 |
| 2.0.1 | 178 | 3/29/2026 |
| 1.7.8 | 186 | 3/2/2026 |
| 1.7.7 | 196 | 1/31/2026 |
| 1.7.6 | 199 | 1/22/2026 |
| 1.7.5 | 201 | 1/10/2026 |
| 1.7.4 | 190 | 12/27/2025 |
| 1.7.3 | 277 | 12/22/2025 |
| 1.7.2 | 262 | 12/21/2025 |