Class EntityFrameworkEventEntry
Namespace: Cephalon.EventSourcing.EntityFramework
Assembly: Cephalon.EventSourcing.EntityFramework.dll
Represents one persisted domain event row stored by the Entity Framework event-store provider.
[Table("CephalonEvents")]public sealed class EntityFrameworkEventEntryInheritance
Section titled “Inheritance”object ← EntityFrameworkEventEntry
Inherited Members
Section titled “Inherited Members”object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
Section titled “Constructors”EntityFrameworkEventEntry()
Section titled “ EntityFrameworkEventEntry()”Initializes a new instance of the
public EntityFrameworkEventEntry()Properties
Section titled “Properties”AppendedAtUtc
Section titled “ AppendedAtUtc”Gets or sets the UTC time at which the event was appended to the store.
public DateTime AppendedAtUtc { get; set; }Property Value
Section titled “Property Value”CorrelationId
Section titled “ CorrelationId”Gets or sets the correlation identifier associated with the event when known.
public string? CorrelationId { get; set; }Property Value
Section titled “Property Value”EventType
Section titled “ EventType”Gets or sets the assembly-qualified CLR event type.
[MaxLength(500)]public string EventType { get; set; }Property Value
Section titled “Property Value”Gets or sets the database-assigned row identifier.
public long Id { get; set; }Property Value
Section titled “Property Value”OccurredAtUtc
Section titled “ OccurredAtUtc”Gets or sets the UTC time at which the domain event occurred.
public DateTime OccurredAtUtc { get; set; }Property Value
Section titled “Property Value”Payload
Section titled “ Payload”Gets or sets the serialized event payload.
public string Payload { get; set; }Property Value
Section titled “Property Value”StreamId
Section titled “ StreamId”Gets or sets the stable logical stream identifier.
[MaxLength(500)]public string StreamId { get; set; }Property Value
Section titled “Property Value”StreamVersion
Section titled “ StreamVersion”Gets or sets the optimistic stream version for the event.
public long StreamVersion { get; set; }Property Value
Section titled “Property Value”TenantId
Section titled “ TenantId”Gets or sets the tenant identifier associated with the event when known.
public string? TenantId { get; set; }