C# Class NZBDash.DataAccessLayer.Repository.JsonRepository

Inheritance: ISettingsRepository
Afficher le fichier Open project: NZBDash/NZBDash

Private Properties

Свойство Type Description
ResetCache void

Méthodes publiques

Méthode 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

Méthode Description
ResetCache ( ) : void

Method Details

Delete() public méthode

public Delete ( GlobalSettings entity ) : bool
entity NZBDash.DataAccessLayer.Models.Settings.GlobalSettings
Résultat bool

Get() public méthode

public Get ( string pageName ) : GlobalSettings
pageName string
Résultat NZBDash.DataAccessLayer.Models.Settings.GlobalSettings

GetAll() public méthode

public GetAll ( ) : IEnumerable
Résultat IEnumerable

Insert() public méthode

public Insert ( GlobalSettings entity ) : long
entity NZBDash.DataAccessLayer.Models.Settings.GlobalSettings
Résultat long

JsonRepository() public méthode

public JsonRepository ( ISqliteConfiguration config, ICacheProvider cacheProvider ) : System.Collections.Generic
config ISqliteConfiguration
cacheProvider ICacheProvider
Résultat System.Collections.Generic

Update() public méthode

public Update ( GlobalSettings entity ) : bool
entity NZBDash.DataAccessLayer.Models.Settings.GlobalSettings
Résultat bool