DKNet.EfCore.Abstractions 13.3.1

dotnet add package DKNet.EfCore.Abstractions --version 13.3.1
                    
NuGet\Install-Package DKNet.EfCore.Abstractions -Version 13.3.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="DKNet.EfCore.Abstractions" Version="13.3.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="DKNet.EfCore.Abstractions" Version="13.3.1" />
                    
Directory.Packages.props
<PackageReference Include="DKNet.EfCore.Abstractions" />
                    
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 DKNet.EfCore.Abstractions --version 13.3.1
                    
#r "nuget: DKNet.EfCore.Abstractions, 13.3.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 DKNet.EfCore.Abstractions@13.3.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=DKNet.EfCore.Abstractions&version=13.3.1
                    
Install as a Cake Addin
#tool nuget:?package=DKNet.EfCore.Abstractions&version=13.3.1
                    
Install as a Cake Tool

DKNet.EfCore.Abstractions

Entity identities, event contracts and policy attributes for .NET developers modelling a domain without the EF Core runtime.

✨ Why use it?

  • Give domain entities a consistent identity and event queue without depending on a transport.
  • Declare audit, sequence, CRUD and sensitivity policy next to the model while keeping enforcement in infrastructure.
  • Share audit, concurrency and soft-delete contracts across the DKNet persistence packages.

🚀 Quick Start

Use a .NET 10 console project. Install the package, then replace Program.cs with the example.

dotnet new console -f net10.0 -n EfCoreDemo
cd EfCoreDemo
dotnet add package DKNet.EfCore.Abstractions
using DKNet.EfCore.Abstractions.Entities;
using DKNet.EfCore.Abstractions.Events;

var order = new Order();
order.Place();
Console.WriteLine(order.GetEvents().Events.Length); // 1
order.ClearEvents();
Console.WriteLine(order.GetEvents().Events.Length); // 0

public sealed class Order : Entity
{
    public void Place() => AddEvent(new OrderPlaced(Id));
}
public sealed record OrderPlaced(Guid OrderId) : EventItem;

Run with dotnet run.

Documentation

Guide Read when
Package overview Start with architecture and the end-to-end flow.
Give domain entities an identity Use Entity<TKey> for an identity plus event queues, or implement the covariant IEntity<out TKey> contract yourself.
Record who created and changed an entity Derive from AuditedEntity<TKey> or its Guid specialization to store audit identity and timestamps.
Expose an optimistic concurrency token Implement IConcurrencyEntity<TType> to give infrastructure a consistent RowVersion property and setter.
Represent a soft deletion in the domain Implement ISoftDeletableEntity when deletion records a flag, user and time instead of removing the object.
Queue domain events without choosing a transport Entity<TKey> implements IEventEntity with separate queues for event objects and event types.
Declare events for persistence operations Apply repeatable, non-inherited [RaisesEvent] declarations to an entity for create, update or delete payloads.
Describe database sequences with enum metadata Put [SqlSequence] on an enum and [Sequence] on each member that represents a database sequence.
Declare audit capture and sensitive properties Attach policy markers to the domain model and let the appropriate runtime consumer enforce them.
Mark domain members for CRUD generation Declare which constructors and methods SlimBus.Generators can turn into request handlers and endpoints.
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 (4)

Showing the top 4 NuGet packages that depend on DKNet.EfCore.Abstractions:

Package Downloads
DKNet.EfCore.Extensions

DKNet is an enterprise-grade .NET library collection focused on advanced EF Core extensions, dynamic predicate building, and the Specification pattern. It provides production-ready tools for building robust, type-safe, and testable data access layers, including dynamic LINQ support, LinqKit integration. Designed for modern cloud-native applications, DKNet enforces strict code quality, async best practices, and full documentation for all public APIs. Enterprise-grade .NET library suite for modern application development, featuring advanced EF Core extensions (dynamic predicates, specifications, LinqKit), robust Domain-Driven Design (DDD) patterns, and domain event support. DKNet empowers scalable, maintainable, and testable solutions with type-safe validation, async/await, XML documentation, and high code quality standards. Ideal for cloud-native, microservices, and enterprise architectures.

DKNet.EfCore.Events

DKNet is an enterprise-grade .NET library collection focused on advanced EF Core extensions, dynamic predicate building, and the Specification pattern. It provides production-ready tools for building robust, type-safe, and testable data access layers, including dynamic LINQ support, LinqKit integration. Designed for modern cloud-native applications, DKNet enforces strict code quality, async best practices, and full documentation for all public APIs. Enterprise-grade .NET library suite for modern application development, featuring advanced EF Core extensions (dynamic predicates, specifications, LinqKit), robust Domain-Driven Design (DDD) patterns, and domain event support. DKNet empowers scalable, maintainable, and testable solutions with type-safe validation, async/await, XML documentation, and high code quality standards. Ideal for cloud-native, microservices, and enterprise architectures.

DKNet.EfCore.Repos.Abstractions

Package Description

DKNet.EfCore.AuditLogs

DKNet is an enterprise-grade .NET library collection focused on advanced EF Core extensions, dynamic predicate building, and the Specification pattern. It provides production-ready tools for building robust, type-safe, and testable data access layers, including dynamic LINQ support, LinqKit integration. Designed for modern cloud-native applications, DKNet enforces strict code quality, async best practices, and full documentation for all public APIs. Enterprise-grade .NET library suite for modern application development, featuring advanced EF Core extensions (dynamic predicates, specifications, LinqKit), robust Domain-Driven Design (DDD) patterns, and domain event support. DKNet empowers scalable, maintainable, and testable solutions with type-safe validation, async/await, XML documentation, and high code quality standards. Ideal for cloud-native, microservices, and enterprise architectures.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
13.3.1 148 10/26/2026
13.3.0 225 10/22/2026
13.2.8 173 10/22/2026
13.2.7 221 10/11/2026
13.2.6 168 10/10/2026
13.2.5 422 10/2/2026
13.2.4 164 10/1/2026
13.2.3 170 10/1/2026
13.2.2 166 10/1/2026
13.2.1 168 10/1/2026
13.2.0 175 10/1/2026
13.1.3 245 9/21/2026
13.1.2 444 9/18/2026
13.1.1 182 9/18/2026
13.1.0 178 9/18/2026
13.0.2 176 9/18/2026
13.0.1 178 9/18/2026
13.0.0 200 9/18/2026
12.0.0 190 9/17/2026
11.0.0 252 9/17/2026
Loading failed