NovaCore.EntityFrameworkCore 0.3.0-preview.1

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

NovaCore.EntityFrameworkCore

Entity Framework Core infrastructure adapter for NovaCore modular applications.

This package contains reusable EF Core DbContext registration, automatic database readiness checks, shared DbContext provider configuration hooks, repository base types, audit interception, query filters, automatic aggregate domain-event dispatch, EF-backed unit of work infrastructure, and opt-in reliable messaging.

Use ConfigureNovaCoreDbContexts(...) to configure provider options for every NovaCore DbContext from the composition root. Use ConfigureNovaCoreDbContext<TDbContext>(...) when one DbContext needs a specific provider or option set.

INovaCoreDbContextConnectionRouter is an opt-in EF adapter hook for changing a selected DbContext connection before unit-of-work transaction grouping. A router must fail closed, retain the compiled provider, and support direct EF operations with interceptors. NovaCore does not register a router globally; optional modules such as TenantManagement own their selection and security policy. Raw ADO.NET callers must invoke INovaCoreDbContextConnectionRoutingManager.RouteAsync(dbContext) before retrieving or opening the underlying connection.

Entities mapped by a BaseDbContext can explicitly implement IHasConcurrencyStamp for optimistic concurrency. The package maps the string property as a concurrency token and rotates it for Added and Modified entries registered through AddNovaCoreDbContext<TDbContext>(); stale writes throw DbUpdateConcurrencyException. See the framework's concurrency documentation for API and migration guidance.

Entities can also explicitly implement IHasExtraProperties. BaseDbContext maps the CLR ExtraProperties bag as a required JSON string with a structural comparer and deep snapshot, so in-place bag changes are saved. The convention supplies a {} default but no provider-specific column type, length, index, query, or encryption behavior; the entity owner must ship matching migrations.

For reliable messaging, implement INovaCoreReliableMessagingDbContext on the owning BaseDbContext and call AddNovaCoreEfCoreReliableMessaging<TEvent, TDbContext>() for each routed distributed event. The package persists Outbox/Inbox rows, uses bounded retry and expiring claims, deduplicates Inbox delivery, exposes dead-letter state and requeue APIs, and requires normal EF migrations. Broker adapters implement IDistributedEventTransport and call IEfCoreInboxProcessor; no broker client is included here.

Product Compatible and additional computed target framework versions.
.NET 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 was computed.  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 (14)

Showing the top 5 NuGet packages that depend on NovaCore.EntityFrameworkCore:

Package Downloads
NovaCore.FileStorage.EntityFrameworkCore

File storage EF Core adapter for NovaCore official modules.

NovaCore.Features.EntityFrameworkCore

Persistent Entity Framework Core feature value adapter for NovaCore modular applications.

NovaCore.TenantManagement.EntityFrameworkCore

Tenant management EF Core adapter for NovaCore official modules.

NovaCore.Identity.EntityFrameworkCore

Identity EF Core adapter for NovaCore official modules.

NovaCore.AuditLogging.EntityFrameworkCore

Audit logging EF Core adapter for NovaCore official modules.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.3.0-preview.1 295 10/9/2026