![]() |
CQRS.NET
2.2
A lightweight enterprise framework to write CQRS, event-sourced and micro-service applications in hybrid multi-datacentre, on-premise and Azure environments.
|
An IAggregateRoot<TAuthenticationToken> for operating on IDto instances. More...
Public Member Functions | |
DtoAggregateRoot (Guid id, TDto original, TDto @new) | |
Instantiate a new instance of DtoAggregateRoot<TAuthenticationToken,TDto> and instantly apply the change as n DtoAggregateEvent<TAuthenticationToken,TDto> More... | |
![]() | |
IEnumerable< IEvent< TAuthenticationToken > > | GetUncommittedChanges () |
Get all applied changes that haven't yet been committed. More... | |
virtual void | MarkChangesAsCommitted () |
Mark all applied changes as committed, increment Version and flush the internal collection of changes. More... | |
virtual void | LoadFromHistory (IEnumerable< IEvent< TAuthenticationToken >> history) |
Apply all the events in history using event replay to this instance. More... | |
Additional Inherited Members | |
![]() | |
AggregateRoot () | |
Instantiates a new instance of AggregateRoot<TAuthenticationToken>. More... | |
virtual void | Initialise () |
Initialise any properties More... | |
virtual void | ApplyChange (IEvent< TAuthenticationToken > @event) |
Call the "Apply" method with a signature matching the provided event without using event replay to this instance. More... | |
virtual void | ApplyChanges (IEnumerable< IEvent< TAuthenticationToken >> events) |
Call the "Apply" method with a signature matching each IEvent<TAuthenticationToken> in the provided events without using event replay to this instance. More... | |
![]() | |
Guid | Id [get, protected set] |
The identifier of this IAggregateRoot<TAuthenticationToken>. More... | |
int | Version [get, protected set] |
The current version of this IAggregateRoot<TAuthenticationToken>. More... | |
![]() | |
Guid | Id [get] |
The identifier of this IAggregateRoot<TAuthenticationToken>. More... | |
int | Version [get] |
The current version of this IAggregateRoot<TAuthenticationToken>. More... | |