C# Class NZBDash.DataAccessLayer.Repository.JsonRepository

Inheritance: ISettingsRepository
Mostrar archivo Open project: NZBDash/NZBDash

Private Properties

Property Type Description
ResetCache void

Public Methods

Method Description
Delete ( GlobalSettings entity ) : bool
Get ( string pageName ) : GlobalSettings
GetAll ( ) : IEnumerable
Insert ( GlobalSettings entity ) : long
JsonRepository ( ISqliteConfiguration config, ICacheProvider cacheProvider ) : System.Collections.Generic
Update ( GlobalSettings entity ) : bool

Private Methods

Method Description
ResetCache ( ) : void

Method Details

Delete() public method

public Delete ( GlobalSettings entity ) : bool
entity NZBDash.DataAccessLayer.Models.Settings.GlobalSettings
return bool

Get() public method

public Get ( string pageName ) : GlobalSettings
pageName string
return NZBDash.DataAccessLayer.Models.Settings.GlobalSettings

GetAll() public method

public GetAll ( ) : IEnumerable
return IEnumerable

Insert() public method

public Insert ( GlobalSettings entity ) : long
entity NZBDash.DataAccessLayer.Models.Settings.GlobalSettings
return long

JsonRepository() public method

public JsonRepository ( ISqliteConfiguration config, ICacheProvider cacheProvider ) : System.Collections.Generic
config ISqliteConfiguration
cacheProvider ICacheProvider
return System.Collections.Generic

Update() public method

public Update ( GlobalSettings entity ) : bool
entity NZBDash.DataAccessLayer.Models.Settings.GlobalSettings
return bool