Method | Description | |
---|---|---|
AggregateRoot ( ) : System | ||
ClearUncommitedEvents ( ) : void | ||
LoadFromRepository ( IEnumerable |
||
ReloadAggregateRoot ( ) : void |
TODO we have affected state of aggregate root but are not commiting those events to store if rollbackis called in UoW we need to relaod our aggregate to the state that it was prior to the last events commited
|
Method | Description | |
---|---|---|
OnEvent ( IEvent @event ) : void |
Method | Description | |
---|---|---|
OnEvent ( IEvent @event, bool isNew ) : void |
public LoadFromRepository ( IEnumerable |
||
events | IEnumerable |
|
return | void |