Table of Contents

Class CharacterFriendEntity

Namespace
FishMMO.Database.Npgsql.Entities
Assembly
FishMMO-DB.dll

Database entity representing a character friend/block relationship.

public class CharacterFriendEntity : IVersionedEntity
Inheritance
CharacterFriendEntity
Implements
Inherited Members

Properties

Character

Navigation property to the owning character.

public CharacterEntity Character { get; set; }

Property Value

CharacterEntity

CharacterID

Owning character identifier.

public long CharacterID { get; set; }

Property Value

long

Deleted

Soft-delete flag.

public bool Deleted { get; set; }

Property Value

bool

FriendCharacterID

Target character identifier.

public long FriendCharacterID { get; set; }

Property Value

long

ID

Primary key.

public long ID { get; set; }

Property Value

long

IsBlocked

When false this is a friend relationship; when true the target is blocked.

public bool IsBlocked { get; set; }

Property Value

bool

TimeCreated

Row creation timestamp (UTC).

public DateTime TimeCreated { get; set; }

Property Value

DateTime

TimeDeleted

Soft-delete timestamp (UTC), null when not deleted.

public DateTime? TimeDeleted { get; set; }

Property Value

DateTime?

Version

Logical version for optimistic concurrency control.

public long Version { get; set; }

Property Value

long