Table of Contents

Class ContactMessageEntity

Namespace
Tharga.Team.MongoDB
Assembly
Tharga.Team.MongoDB.dll

A message staff sent to contacts, as the log records it, with every distinct address it was listed for.

public record ContactMessageEntity : EntityBase, ISupportInitialize, IEquatable<PersistableEntityBase>, IEntity<ObjectId>, IEquatable<EntityBase<ObjectId>>, IEquatable<EntityBase>, IEquatable<ContactMessageEntity>
Inheritance
PersistableEntityBase
EntityBase<ObjectId>
EntityBase
ContactMessageEntity
Implements
IEquatable<PersistableEntityBase>
IEntity<ObjectId>
IEquatable<EntityBase<ObjectId>>
IEquatable<EntityBase>
Inherited Members
EntityBase.ToString()
EntityBase.GetHashCode()
EntityBase.Equals(EntityBase<ObjectId>)
EntityBase.Equals(EntityBase)
EntityBase.<Clone>$()
EntityBase.EqualityContract
EntityBase<ObjectId>.Equals(PersistableEntityBase)
EntityBase<ObjectId>.Id
PersistableEntityBase.NeedsCleaning()
PersistableEntityBase.BeginInit()
PersistableEntityBase.EndInit()
PersistableEntityBase.CatchAll

Properties

Addressees

Every distinct address listed and how it was checked when sent.

public ContactMessageAddresseeEntity[] Addressees { get; init; }

Property Value

ContactMessageAddresseeEntity[]

AttachmentCount

How many files it carried.

public int AttachmentCount { get; init; }

Property Value

int

Category

The contact category's key.

public required string Category { get; init; }

Property Value

string

LeftOutCount

How many listed addresses were left out.

public int LeftOutCount { get; init; }

Property Value

int

MessageId

The message's id, which is the id of the batch its mails were queued in; unique.

public required string MessageId { get; init; }

Property Value

string

OptedOutCount

How many listed addresses had opted out.

public int OptedOutCount { get; init; }

Property Value

int

RecipientCount

How many addresses one mail was queued to.

public int RecipientCount { get; init; }

Property Value

int

SentAt

When it was sent, in UTC; the retention period runs from here.

public DateTime SentAt { get; init; }

Property Value

DateTime

SentByName

The name of whoever sent it.

[BsonIgnoreIfNull]
public string SentByName { get; init; }

Property Value

string

SentByUserKey

The key of the user who sent it, or null.

[BsonIgnoreIfNull]
public string SentByUserKey { get; init; }

Property Value

string

Subject

The subject line.

public required string Subject { get; init; }

Property Value

string