Created
October 18, 2014 09:50
-
-
Save codescribler/4404be4a04966f14839c to your computer and use it in GitHub Desktop.
Structure of an Event message
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class CustomerCreated : Event | |
{ | |
public readonly Guid AggreagteId; | |
public readonly int Version; | |
public readonly Guid UserId; | |
public readonly Guid ProcessId | |
// Other fields specific to this event | |
public CustomerCreated(Guid aggregateId, int version, Guid userId, Guid processId) | |
{ | |
AggreagteId = aggregateId; | |
Version = version; | |
UserId = userId; | |
ProcessId = processId; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment