Table of Contents

Property Sequence

Namespace
MailFathom.Application.Agent.Conversations
Assembly
MailFathom.Application.dll

Sequence

Gets the place this holds in the conversation, counted from one.

[JsonIgnore]
public long Sequence { get; init; }

Property Value

long

Remarks

Zero is what an entry that has not been written yet carries, and no written entry ever has it. Both this and ConversationId stay out of the stored payload: the place is derived inside the statement that writes the row, so an entry is serialized before either is known, and the store stamps both from the row it read them off. A payload carrying its own copy could only ever disagree with the row.