Class MongoDbEventEntry
เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน
Namespace: Cephalon.EventSourcing.MongoDB
Assembly: Cephalon.EventSourcing.MongoDB.dll
Represents one persisted domain event document stored by the MongoDB event-store provider.
public sealed class MongoDbEventEntryInheritance
Section titled “Inheritance”Inherited Members
Section titled “Inherited Members”object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
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.
public string EventType { get; set; }Property Value
Section titled “Property Value”Gets or sets the database-assigned document identifier.
[BsonId]public ObjectId Id { get; set; }Property Value
Section titled “Property Value”ObjectId
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.
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; }