Table of Contents

AggregateRoot Constructor

Definition

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

AggregateRoot(IMetadata)

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

protected AggregateRoot(IMetadata metadata = null)

Parameters

metadata IMetadata

The optional metadata to merge with this instance.

AggregateRoot(TKey)

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

protected AggregateRoot(TKey id)

Parameters

id TKey

The identifier of the entity.