메소드 | 설명 | |
---|---|---|
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
|
메소드 | 설명 | |
---|---|---|
OnEvent ( IEvent @event ) : void |
메소드 | 설명 | |
---|---|---|
OnEvent ( IEvent @event, bool isNew ) : void |
public LoadFromRepository ( IEnumerable |
||
events | IEnumerable |
|
리턴 | void |