StoreAggregateBase<TReadOnlySelf,TWritableSelf,TState>
The base class of Store
based aggregate entity
public abstract class StoreAggregateBase<TReadOnlySelf, TWritableSelf, TState> :
AggregateBase<TReadOnlySelf, TWritableSelf, TState>, IHasStore
where TReadOnlySelf : StoreAggregateBase
where TWritableSelf : TReadOnlySelf
where TState : StoreAggregateStateBase
Inheritance
- class AggregateBase<TReadOnlySelf,TWritableSelf,TState>
- interface IHasStore
Namespace
Parameters
Parameter | Description |
---|---|
TReadOnlySelf
|
The Type of the read only aggregate entity
|
TWritableSelf
|
The Type of the writable aggregate entity
|
TState
|
The Type of the shared state of the aggregate entities
|
Properties
StoreId
Gets the ID of the Store
this entity belongs to
public Guid StoreId { get; }