Skip to content

RoleDao

Namespace: SlottyMedia.Database.Daos

This class represents the Role table in the database.

public class RoleDao : Supabase.Postgrest.Models.BaseModel

Inheritance Object → BaseModel → RoleDao

Properties

RoleId

The ID of the Role. This is the Primary Key. It is auto-generated.

public Nullable<Guid> RoleId { get; set; }

Property Value

Nullable<Guid>

RoleName

The Name of the Role.

public string RoleName { get; set; }

Property Value

String

Description

The Description of the Role.

public string Description { get; set; }

Property Value

String

CreatedAt

The Date and Time the Role was created.

public DateTimeOffset CreatedAt { get; set; }

Property Value

DateTimeOffset

BaseUrl

public string BaseUrl { get; set; }

Property Value

String

RequestClientOptions

public ClientOptions RequestClientOptions { get; set; }

Property Value

ClientOptions

TableName

public string TableName { get; }

Property Value

String

PrimaryKey

public Dictionary<PrimaryKeyAttribute, object> PrimaryKey { get; }

Property Value

Dictionary<PrimaryKeyAttribute, Object>

Constructors

RoleDao()

public RoleDao()