Table of Contents

AggregateRoot<TKey> Class

Definition

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

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

public abstract class AggregateRoot<TKey> : Aggregate<TKey, IDomainEvent>, IAggregateRoot<IDomainEvent, TKey>, IAggregateRoot<IDomainEvent>, IAggregateRoot, IMetadata, IEntity<TKey>, IIdentity<TKey>

Type Parameters

TKey

The type of the key that uniquely identifies this aggregate.

Inheritance
Entity<TKey>
AggregateRoot<TKey>
Implements
IEntity<TKey>
IIdentity<TKey>
Inherited Members
Extension Methods

Constructors

Name Description
AggregateRoot(IMetadata)

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

AggregateRoot(TKey)

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

See Also

Aggregate<TKey, TEvent>