Class EventEntity
The stored entity that contains the information about an event applied to a domain entity.
Inheritance
System.Object
EventEntity
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Silverback.EventStore
Assembly: Silverback.EventSourcing.dll
Syntax
public abstract class EventEntity : IEventEntity
Properties
| Improve this doc View sourceClrType
Gets or sets the assembly qualified name of the event class.
Declaration
[MaxLength(500)]
public string ClrType { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Sequence
Gets or sets the sequence number that is used to replay the messages in the right order.
Declaration
public int Sequence { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
SerializedEvent
Gets or sets the serialized event.
Declaration
public string SerializedEvent { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Timestamp
Gets or sets the datetime when the event occured.
Declaration
public DateTime Timestamp { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime |