MiCake.EntityFrameworkCore 10.0.0-preview.10

Prefix Reserved
This is a prerelease version of MiCake.EntityFrameworkCore.
dotnet add package MiCake.EntityFrameworkCore --version 10.0.0-preview.10
                    
NuGet\Install-Package MiCake.EntityFrameworkCore -Version 10.0.0-preview.10
                    
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="MiCake.EntityFrameworkCore" Version="10.0.0-preview.10" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="MiCake.EntityFrameworkCore" Version="10.0.0-preview.10" />
                    
Directory.Packages.props
<PackageReference Include="MiCake.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 MiCake.EntityFrameworkCore --version 10.0.0-preview.10
                    
#r "nuget: MiCake.EntityFrameworkCore, 10.0.0-preview.10"
                    
#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 MiCake.EntityFrameworkCore@10.0.0-preview.10
                    
#: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=MiCake.EntityFrameworkCore&version=10.0.0-preview.10&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=MiCake.EntityFrameworkCore&version=10.0.0-preview.10&prerelease
                    
Install as a Cake Tool

MiCake.EntityFrameworkCore

Entity Framework Core integration for the MiCake DDD toolkit.

Overview

MiCake.EntityFrameworkCore provides EF Core support for MiCake:

  • MiCakeDbContext - Enhanced DbContext with DDD support
  • Repository Implementation - Auto-generated repositories
  • Unit of Work - Transaction management with EF Core
  • Store Conventions - Automatic entity configuration
  • Domain Event Dispatch - Events triggered on SaveChanges

Installation

dotnet add package MiCake.EntityFrameworkCore

Quick Start

// Inherit from MiCakeDbContext
public class AppDbContext : MiCakeDbContext
{
    public DbSet<Order> Orders { get; set; }

    protected override void OnModelCreating(ModelBuilder modelBuilder)
    {
        base.OnModelCreating(modelBuilder); // Required!
        // Your configurations...
    }
}

Key Features

Feature Description
MiCakeDbContext Base DbContext with DDD integration
IRepository<T, TKey> Auto-implemented repository
IEFSaveChangesLifetime SaveChanges lifecycle hooks
BypassUnitOfWorkCheck Access DbContext without UoW (read-only)

Documentation

📚 Full Documentation

License

MIT License - see LICENSE

Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on MiCake.EntityFrameworkCore:

Package Downloads
MiCake.AspNetCore

ASP.NET Core integration extensions for MiCake.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
10.0.0-preview.10 0 2/23/2026
10.0.0-preview.9 47 2/9/2026
10.0.0-preview.8 51 1/21/2026
10.0.0-preview.7 48 1/20/2026
10.0.0-preview.5 58 1/15/2026
1.0.0-CI-20251227-143701 123 12/27/2025
1.0.0-CI-20251227-131439 88 12/27/2025
1.0.0-CI-20251203-144406 665 12/3/2025
1.0.0-CI-20251202-144550 661 12/2/2025
1.0.0-CI-20251128-083448 151 11/28/2025
1.0.0-CI-20251123-045010 145 11/23/2025
0.9.0-CI-20251107-105430 154 11/7/2025
0.9.0-CI-20251030-064729 192 10/30/2025
0.9.0-CI-20251019-130615 215 10/19/2025
0.9.0-CI-20251009-024518 190 10/9/2025
0.9.0-CI-20251008-121343 178 10/8/2025
0.9.0-CI-20250927-142804 125 9/27/2025
0.9.0-CI-20250927-134346 104 9/27/2025
0.9.0-CI-20250926-020921 176 9/26/2025
0.3.0 965 7/6/2020
Loading failed