ForumDao
Namespace: SlottyMedia.Database.Daos
This class represents the Forum table in the database.
public class ForumDao : Supabase.Postgrest.Models.BaseModel
Inheritance Object → BaseModel → ForumDao
Properties
ForumId
The ID of the Forum. This is the Primary Key. It is auto-generated.
public Nullable<Guid> ForumId { get; set; }
Property Value
CreatorUser
The User who created the Forum. This is a Reference to the User Table.
public UserDao CreatorUser { get; set; }
Property Value
CreatorUserId
The ID of the User who created the Forum. This is a Foreign Key to the User Table.
public Nullable<Guid> CreatorUserId { get; set; }
Property Value
ForumTopic
The Title of the Forum.
public string ForumTopic { get; set; }
Property Value
post_count
The Count of Posts in the Forum.
public Nullable<int> post_count { get; set; }
Property Value
CreatedAt
Created Date and Time of the Forum.
public DateTimeOffset CreatedAt { get; set; }
Property Value
BaseUrl
public string BaseUrl { get; set; }
Property Value
RequestClientOptions
public ClientOptions RequestClientOptions { get; set; }
Property Value
ClientOptions
TableName
public string TableName { get; }
Property Value
PrimaryKey
public Dictionary<PrimaryKeyAttribute, object> PrimaryKey { get; }
Property Value
Dictionary<PrimaryKeyAttribute, Object>
Constructors
ForumDao()
The default constructor.
public ForumDao()
ForumDao(Guid, String)
The constructor with parameters.
public ForumDao(Guid creatorUserId, string forumTopic)
Parameters
creatorUserId Guid
The Id of the User who created the Forum
forumTopic String
The Topic of the Forum
Methods
ToString()
The ToString method returns a string representation of the object.
public string ToString()