Table of Contents

Interface ISettingRepository

Namespace
Oqtane.Repository
Assembly
Oqtane.Server.dll
public interface ISettingRepository

Methods

AddSetting(Setting)

Setting AddSetting(Setting setting)

Parameters

setting Setting

Returns

Setting

DeleteSetting(string, int)

void DeleteSetting(string entityName, int settingId)

Parameters

entityName string
settingId int

DeleteSettings(string, int)

void DeleteSettings(string entityName, int entityId)

Parameters

entityName string
entityId int

GetSetting(string, int)

Setting GetSetting(string entityName, int settingId)

Parameters

entityName string
settingId int

Returns

Setting

GetSetting(string, int, string)

Setting GetSetting(string entityName, int entityId, string settingName)

Parameters

entityName string
entityId int
settingName string

Returns

Setting

GetSettings(string)

IEnumerable<Setting> GetSettings(string entityName)

Parameters

entityName string

Returns

IEnumerable<Setting>

GetSettings(string, int)

IEnumerable<Setting> GetSettings(string entityName, int entityId)

Parameters

entityName string
entityId int

Returns

IEnumerable<Setting>

UpdateSetting(Setting)

Setting UpdateSetting(Setting setting)

Parameters

setting Setting

Returns

Setting