Table of Contents

Class Setting

Namespace
Oqtane.Models
Assembly
Oqtane.Shared.dll

A setting for any kind of object like Tenant, Site, Page, Module etc.

public class Setting : ModelBase, IAuditable
Inheritance
Setting
Implements
Inherited Members

Properties

EntityId

Id of the Entity we're describing - so it could be Site number 2

public int EntityId { get; set; }

Property Value

int

EntityName

What kind of entity the setting is for, like Page, Site etc.

public string EntityName { get; set; }

Property Value

string

IsPrivate

Indicates if this setting is private - indicating it should be maintained on the server and not sent to the client

public bool IsPrivate { get; set; }

Property Value

bool

SettingId

ID in the Database - mainly used to later update an existing setting.

public int SettingId { get; set; }

Property Value

int

SettingName

Name of the setting.

public string SettingName { get; set; }

Property Value

string

SettingValue

The value of this Setting. It's always a string, so make sure to convert/cast as needed.

public string SettingValue { get; set; }

Property Value

string