JorgeCostaMacia.Entity 8.0.0

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

JorgeCostaMacia.Entity

Marker interface (IEntity) for identity-based domain entities — objects defined by a stable identity across state changes, the DDD Entity building block. Zero dependencies.

NuGet Downloads Build License


Install

dotnet add package JorgeCostaMacia.Entity

Usage

using JorgeCostaMacia.Entity.Domain;

public class Customer : IEntity
{
    public Guid Id { get; init; }
    // identity-based: two Customers are equal when their Id is equal
}

An Entity is defined by its identity and lifecycle (not its attributes), and is mutable — unlike a Value Object.

Requirements

The .NET 10 SDK.

About

JorgeCostaMacia.Entity is part of shared-net — a set of foundational, self-contained .NET packages, each scoped to a single concern and reusable across your bounded contexts.

Author: Jorge Costa Maciá

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.
  • net10.0

    • No dependencies.

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
8.0.0 39 9/15/2026
7.2.1 61 9/14/2026
7.2.0 51 9/14/2026
7.1.1 79 9/13/2026
7.1.0 75 9/13/2026
7.0.1 92 9/10/2026
7.0.0 87 9/10/2026
6.0.6 94 9/9/2026
6.0.5 103 8/31/2026
6.0.4 119 7/22/2026
6.0.3 104 7/22/2026
6.0.2 109 7/19/2026
6.0.1 111 7/15/2026
6.0.0 111 7/13/2026
5.0.0 117 7/12/2026
4.3.0 106 7/12/2026
4.2.0 109 7/11/2026
4.1.0 115 7/10/2026
4.0.0 116 7/9/2026
3.0.1 112 7/8/2026
Loading failed