DKNet.EfCore.Abstractions
10.1.10
dotnet add package DKNet.EfCore.Abstractions --version 10.1.10
NuGet\Install-Package DKNet.EfCore.Abstractions -Version 10.1.10
<PackageReference Include="DKNet.EfCore.Abstractions" Version="10.1.10" />
<PackageVersion Include="DKNet.EfCore.Abstractions" Version="10.1.10" />
<PackageReference Include="DKNet.EfCore.Abstractions" />
paket add DKNet.EfCore.Abstractions --version 10.1.10
#r "nuget: DKNet.EfCore.Abstractions, 10.1.10"
#:package DKNet.EfCore.Abstractions@10.1.10
#addin nuget:?package=DKNet.EfCore.Abstractions&version=10.1.10
#tool nuget:?package=DKNet.EfCore.Abstractions&version=10.1.10
DKNet.EfCore.Abstractions
Persistence-technology-agnostic base classes, interfaces, and attributes shared by every DKNet EF Core package —
entity identity, audit tracking, domain events, concurrency, and cross-cutting attributes for audit-log and
sequence behavior. It has no dependency on Microsoft.EntityFrameworkCore itself, so domain projects can model
entities without pulling in the full EF Core runtime.
Install
dotnet add package DKNet.EfCore.Abstractions
Features
IEntity<TKey>/Entity<TKey>/Entity— entity identity base classes (Guid-keyedEntityby default)IEventEntity— per-entity domain event queue (AddEvent,AddEvent<TEvent>(),GetEvents,ClearEvents), implemented byEntity<TKey>[RaisesEvent]/EventOperations— declare events raised automatically on Created/Updated/Deleted, with optional property narrowingIAuditedProperties/IAuditedEntity<TKey>/AuditedEntity<TKey>/AuditedEntity— creation/modification tracking withSetCreatedBy/SetUpdatedByIConcurrencyEntity<TType>— optimistic concurrency via aRowVersiontokenISoftDeletableEntity— soft-delete contract (IsDeleted,DeletedOn,DeletedBy,Delete(...))[Sequence]/[SqlSequence]— database-generated sequential values for fields and enum-backed SQL sequences[AuditLog]/[IgnoreAuditLog]/[SensitiveDataAttribute]— audit-log opt-in and redaction markers (consumed byDKNet.EfCore.AuditLogs)[IgnoreEntity]— marker to exclude a class from automatic entity mappingIEventPublisher/DefaultEventPublisher/IEventItem/EventItem— the event-publishing contract consumed byDKNet.EfCore.Events
Quick start
using DKNet.EfCore.Abstractions.Entities;
public class Order : AuditedEntity // Guid-keyed, audit-tracked, event-capable
{
private Order() { }
public static Order Create(string createdBy)
{
var order = new Order();
order.SetCreatedBy(createdBy);
order.AddEvent(new OrderCreatedEvent(order.Id));
return order;
}
public string Status { get; private set; } = "Pending";
}
public record OrderCreatedEvent(Guid OrderId);
Full feature walkthrough, configuration defaults, and how this package composes with
DKNet.EfCore.Events/Hooks/AuditLogs/DataAuthorization/Encryption/DtoGenerator:
docs/EfCore/DKNet.EfCore.Abstractions.md
| Product | Versions 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. |
-
net10.0
- FluentResults (>= 4.0.0)
- Microsoft.EntityFrameworkCore.Abstractions (>= 10.0.11)
- System.ComponentModel.Annotations (>= 5.0.0)
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 |
|---|---|---|
| 10.1.10 | 0 | 8/22/2026 |
| 10.1.9 | 0 | 8/22/2026 |
| 10.1.8 | 39 | 8/21/2026 |
| 10.1.7 | 92 | 8/21/2026 |
| 10.1.6 | 77 | 8/21/2026 |
| 10.1.5 | 116 | 8/20/2026 |
| 10.1.4 | 116 | 8/20/2026 |
| 10.1.3 | 117 | 8/19/2026 |
| 10.1.2 | 127 | 8/19/2026 |
| 10.1.1 | 125 | 8/19/2026 |
| 10.0.36 | 148 | 8/18/2026 |
| 10.0.35 | 160 | 8/5/2026 |
| 10.0.34 | 162 | 8/5/2026 |
| 10.0.33 | 175 | 8/4/2026 |
| 10.0.32 | 406 | 8/3/2026 |
| 10.0.31 | 186 | 7/21/2026 |
| 10.0.30 | 173 | 7/21/2026 |
| 10.0.29 | 728 | 6/22/2026 |
| 10.0.27 | 255 | 5/22/2026 |
| 10.0.26 | 175 | 5/19/2026 |