Definition
Package: MessageHandler.EventSourcing
Assembly: MessageHandler.EventSourcing
Namespace: MessageHandler.EventSourcing.DomainModel
Represents an identifiable entity that is event sourced.
Properties
Property | Description |
---|---|
Id | Gets the entity identifier. |
Version | Gets the entity's version. As the entity is being updated and events being generated, the version is incremented. |
PendingEvents | Gets the collection of new events since the entity was loaded, as a consequence of command handling. |