Table of Contents

Class UserMailPreferenceEntity

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

One user's choice for one mail category, stored only when it differs from the category's default.

public record UserMailPreferenceEntity : EntityBase, ISupportInitialize, IEquatable<PersistableEntityBase>, IEntity<ObjectId>, IEquatable<EntityBase<ObjectId>>, IEquatable<EntityBase>, IEquatable<UserMailPreferenceEntity>
Inheritance
PersistableEntityBase
EntityBase<ObjectId>
EntityBase
UserMailPreferenceEntity
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

Category

The category's key.

public required string Category { get; init; }

Property Value

string

Receives

Whether the user receives the category.

public required bool Receives { get; init; }

Property Value

bool

UpdatedAt

When the choice was last made, in UTC.

public required DateTime UpdatedAt { get; init; }

Property Value

DateTime

UserKey

The user's key.

public required string UserKey { get; init; }

Property Value

string