Table of Contents

Aggregate Constructor

Definition

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

Aggregate(IMetadata)

Initializes a new instance of the Aggregate<TKey, TEvent> class.

protected Aggregate(IMetadata metadata = null)

Parameters

metadata IMetadata

The optional metadata to merge with this instance.

Aggregate(TKey)

Initializes a new instance of the Aggregate<TKey, TEvent> class.

protected Aggregate(TKey id)

Parameters

id TKey

The identifier of the entity.