EfCore.Boost 10.0.5

There is a newer version of this package available.
See the version list below for details.
dotnet add package EfCore.Boost --version 10.0.5
                    
NuGet\Install-Package EfCore.Boost -Version 10.0.5
                    
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="EfCore.Boost" Version="10.0.5" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="EfCore.Boost" Version="10.0.5" />
                    
Directory.Packages.props
<PackageReference Include="EfCore.Boost" />
                    
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 EfCore.Boost --version 10.0.5
                    
#r "nuget: EfCore.Boost, 10.0.5"
                    
#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 EfCore.Boost@10.0.5
                    
#: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=EfCore.Boost&version=10.0.5
                    
Install as a Cake Addin
#tool nuget:?package=EfCore.Boost&version=10.0.5
                    
Install as a Cake Tool

EfCore.Boost

A disciplined Unit of Work + Repository + Routine + Model Building layer for Entity Framework Core that makes database access structured, portable, and powerful across SQL Server, PostgreSQL, and MySQL.

EfCore.Boost is designed for systems that require any of the following:

  • structured database access boundaries
  • predictable behavior across SQL Server, PostgreSQL, and MySQL
  • safe and powerful OData
  • high-performance bulk ingestion
  • first-class handling of views and routines
  • consistent transactional semantics
  • architecture that remains maintainable as systems grow

EfCore.Boost strengthens how EF Core is used in real applications.


What EfCore.Boost Is

EfCore.Boost is an architectural extension layer on top of EF Core.

It simplifies model building and cross-platform conventions and introduces a disciplined Unit-of-Work model for accessing tables, views, and stored procedures or functions.

It is about architecture, discipline, and consistency.


Additional Capabilities

In addition to its core architectural model, EfCore.Boost provides several focused tools commonly needed in production systems:

  • Strong and natural OData support
    Expressive, safe query composition that integrates cleanly with EF Core while remaining provider-correct.

  • Simple, Azure-safe transaction model
    Explicit transactional boundaries designed to behave correctly under retries and transient failures.

  • Simple and powerful bulk inserts
    High-throughput ingestion helpers that operate within the same Unit-of-Work and transaction model.


Architectural Model (at a glance)

Application → Unit of Work (UOW) → Repositories & Routines → EF Core → Database

Key ideas:

  • Applications talk to UOW, not DbContext
  • Repositories expose tables and views
  • Routines expose procedures and functions
  • Conventions absorb provider differences

This creates a stable and testable data-access boundary.


Why EfCore.Boost Exists

As systems grow, direct DbContext usage tends to spread everywhere:

  • Inconsistent patterns
  • Duplicated logic
  • Provider-specific hacks
  • Fragile migrations
  • Unclear transaction boundaries

EfCore.Boost centralizes these concerns into a single, coherent layer.

You model intent in C#. EfCore.Boost applies provider-correct behavior.
The idea is to simplify the everyday creation and handling of database models.


Model Building & Cross-Provider Conventions

EfCore.Boost establishes one uniform model-building contract across providers.

Instead of hand-tuning mapping rules per database, you define intent once and let EfCore.Boost apply provider-specific behavior.

protected override void OnModelCreating(ModelBuilder modelBuilder)
{
    base.OnModelCreating(modelBuilder);
    modelBuilder.ApplyEfBoostConventions(this, "log");
}

From that point:

  • Naming and quoting are normalized
  • Identity/sequence behavior is handled
  • String and datetime quirks are corrected
  • Routines and views follow a consistent pattern

The model remains portable.


Installation

dotnet add package EfCore.Boost

🚀 Quick Start

The easiest way to get started with EfCore.Boost is to use the solution template:

dotnet new install EfCore.Boost.Template.Simple.Solution
dotnet new boostsimplesolution -n YourProjectName

or

dotnet new boostsimplesolution -n YourProjectName --Schema YourSchemaName --Context YourDbContextName

if you want to customize the default schema name or your db context name.

This generates a ready-to-use solution with:

  • A Model project containing your DbContext, entities, and Unit of Work
  • A Migrate project for managing migrations, and seed data
  • A Test project pre-configured for integration testing with TestContainers
  • A Web-Api project demonstrating dependency injection with the UoW-Factory and OData interface
  • Pre-configured cross-database conventions and deployment scripts

💡 Existing Solutions: You can easily copy the generated projects (Model, Migrate, Test) from the new solution into your existing solution. Just update the project references and namespace names as needed.


Documentation & Source

Full documentation, guides, and examples:

https://github.com/Svakinn/EfCoreBoost/


License

MIT


Actively developed.

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

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.6 129 9/28/2026
10.0.5 128 9/20/2026
10.0.4 395 6/7/2026
10.0.4-preview-b 128 5/18/2026
10.0.3-preview 143 5/13/2026
10.0.2-preview 157 5/11/2026
10.0.1-preview 141 5/4/2026
9.0.6 97 9/28/2026
9.0.5 116 9/19/2026
9.0.4 139 5/18/2026
9.0.3 141 5/13/2026
9.0.2 146 5/11/2026
9.0.1 138 5/4/2026
8.0.6 101 9/28/2026
8.0.5 162 9/6/2026
8.0.4 134 5/17/2026
8.0.3 130 5/13/2026
8.0.2 135 5/11/2026
8.0.1 132 5/3/2026
Loading failed

Better support for change tracking.
HasChanges() method on the UOW and the Ropositories.
ChangeSummary() method on the UOW to get detailed information on all changes trackeed.
ClearTracking() and RejectAllChanges() on UOW and each Repository.
On Repository we now have methods like DetailedChanges(), Changes(), LoadedEntities() and TrackedEntities(), Detach(T), ReloadAsync() etc.