Table of Contents

Entity<TKey> Class

Definition

Namespace
Savvyio.Domain
Assemblies
Savvyio.Domain.dll
Source
src/Savvyio.Domain/Entity.cs

Provides a way to cover the pattern of an Entity as specified in Domain Driven Design. This is an abstract class.

public abstract class Entity<TKey> : IEntity<TKey>, IIdentity<TKey>

Type Parameters

TKey

The type of the identifier.

Inheritance
Entity<TKey>
Implements
IEntity<TKey>
IIdentity<TKey>
Derived

Constructors

Name Description
Entity()

Initializes a new instance of the Entity<TKey> class.

Entity(TKey)

Initializes a new instance of the Entity<TKey> class.

Properties

Name Description
Id

Gets or sets the value of the identifier.

IsTransient

Gets a value indicating whether this instance is transient.

See Also

IEntity<TKey>