BB84.EntityFrameworkCore.Entities 4.4.724

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

net80 net100 NuGet

BB84.EntityFrameworkCore.Entities

This package provides the default concrete implementations of the entity abstractions defined in BB84.EntityFrameworkCore.Entities.Abstractions.

Installation

dotnet add package BB84.EntityFrameworkCore.Entities

Implementations

Each abstract class mirrors the interface hierarchy. Convenience overloads follow the same defaulting pattern as the interfaces (TKey → Guid, TCreator/TEdited → string/string?).

Abstract class Implements Notes
IdentityEntity<TKey> IIdentityEntity<TKey>
IdentityEntity IIdentityEntity TKey = Guid
AuditedEntity<TKey, TCreator, TEdited> IAuditedEntity<TKey, TCreator, TEdited>
AuditedEntity<TKey> IAuditedEntity<TKey> TCreator/TEdited = string/string?
AuditedEntity IAuditedEntity TKey = Guid
FullAuditedEntity<TKey, TCreator, TEdited> IFullAuditedEntity<TKey, TCreator, TEdited> Adds CreatedAt, EditedAt
FullAuditedEntity<TKey> IFullAuditedEntity<TKey>
FullAuditedEntity IFullAuditedEntity TKey = Guid
CompositeEntity ICompositeEntity
AuditedCompositeEntity<TCreator, TEdited> IAuditedCompositeEntity<TCreator, TEdited>
AuditedCompositeEntity IAuditedCompositeEntity TCreator/TEdited = string/string?
EnumeratorEntity<TKey> IEnumeratorEntity<TKey>
EnumeratorEntity IEnumeratorEntity TKey = int

Usage

Inherit from the appropriate base class and add your domain properties:

// Simple entity identified by Guid with concurrency token
public class Product : IdentityEntity
{
    public string Name { get; set; } = string.Empty;
    public decimal Price { get; set; }
}

// Audited entity — tracks who created/edited, but not when
public class Order : AuditedEntity
{
    public decimal TotalAmount { get; set; }
}

// Fully audited entity — tracks who and when, plus supports soft delete
public class Invoice : FullAuditedEntity
{
    public string Number { get; set; } = string.Empty;
    public DateOnly IssueDate { get; set; }
}

// Composite-key entity
public class OrderItem : CompositeEntity
{
    public Guid OrderId { get; set; }
    public Guid ProductId { get; set; }
    public int Quantity { get; set; }
}

// Lookup table (int PK, Name unique, soft-deletable)
public class ProductCategory : EnumeratorEntity
{
    // Name and Description come from IEnumerator via EnumeratorEntity
}

// Custom key type
public class LedgerEntry : IdentityEntity<long>
{
    public decimal Amount { get; set; }
}

Note: FullAuditedEntity adds time auditing (CreatedAt/EditedAt) to the identity and user-audit features. Soft delete (IsDeleted) is a separate concern — it is provided by IEnumeratorEntity (and thus EnumeratorEntity), not by FullAuditedEntity. Add ISoftDeletable manually to your entity if you need soft delete combined with full auditing.

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 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 BB84.EntityFrameworkCore.Entities:

Package Downloads
BB84.EntityFrameworkCore.Repositories

This package contains frequently used repository implementations of their respective abstractions, along with provider agnostic entity type configurations and save changes interceptors.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
5.0.1027 69 10/27/2026
5.0.1020 133 10/20/2026
5.0.916 407 9/16/2026
5.0.818 299 8/18/2026
4.5.725 224 7/25/2026
4.4.724 150 7/24/2026
4.4.625 246 6/25/2026
4.3.520 337 5/20/2026
4.3.513 200 5/13/2026
4.3.507 168 5/7/2026
4.3.419 254 4/19/2026
4.3.327 293 3/27/2026
4.2.322 185 3/22/2026
4.1.319 161 3/19/2026
4.1.222 238 2/22/2026
4.1.122 219 1/22/2026
4.0.1026 424 10/26/2025
4.0.916 484 9/16/2025
4.0.817 311 8/17/2025
3.1.617 423 6/17/2025
Loading failed