Class Setting
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
EntityName
What kind of entity the setting is for, like Page
, Site
etc.
public string EntityName { get; set; }
Property Value
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
SettingId
ID in the Database - mainly used to later update an existing setting.
public int SettingId { get; set; }
Property Value
SettingName
Name of the setting.
public string SettingName { get; set; }
Property Value
SettingValue
The value of this Setting. It's always a string, so make sure to convert/cast as needed.
public string SettingValue { get; set; }