Interface IChange
Defines the minimum set of properties that every event must implement.
public interface IChange
- Extension Methods
Remarks
An event represents something that has taken place in the domain. It is always named with a past-participle verb, such as Order Confirmed. Since an event represents something in the past, it can be considered a statement of fact, which can be used to make decisions in other parts of the system.Events are immutable because they represent domain actions that occurred in the past, and the past cannot be altered.
Properties
AggregateIdentifier
Guid AggregateIdentifier { get; set; }
Property Value
AggregateState
AggregateState AggregateState { get; set; }
Property Value
AggregateVersion
int AggregateVersion { get; set; }
Property Value
ChangeTime
DateTimeOffset ChangeTime { get; set; }
Property Value
OriginOrganization
Guid OriginOrganization { get; set; }
Property Value
OriginUser
Guid OriginUser { get; set; }
Property Value
Methods
Identify(Guid, Guid)
void Identify(Guid organization, Guid user)