Aggregate Constructor
Definition
Aggregate(IMetadata)
Initializes a new instance of the Aggregate<TKey, TEvent> class.
protected Aggregate(IMetadata metadata = null)
Parameters
metadataIMetadataThe optional metadata to merge with this instance.
Aggregate(TKey)
Initializes a new instance of the Aggregate<TKey, TEvent> class.
protected Aggregate(TKey id)
Parameters
idTKeyThe identifier of the entity.