C# Class Machete.Service.LookupCache

Inheritance: ILookupCache
Afficher le fichier Open project: SavageLearning/Machete Class Usage Examples

Private Properties

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

Méthodes publiques

Méthode Description
Dispose ( ) : void
LookupCache ( IDatabaseFactory db ) : System
Refresh ( ) : void
getByID ( int id ) : Lookup
getByKeys ( string category, string key ) : int
getCache ( ) : IEnumerable
getSkillsByWorkType ( int worktypeID ) : IEnumerable
getTeachers ( ) : IEnumerable
isSpecialized ( int skillid ) : bool
textByID ( int ID, string locale ) : string

Get the English or Spanish name for a given lookup number

Private Methods

Méthode Description
FillCache ( ) : void

Method Details

Dispose() public méthode

public Dispose ( ) : void
Résultat void

LookupCache() public méthode

public LookupCache ( IDatabaseFactory db ) : System
db IDatabaseFactory
Résultat System

Refresh() public méthode

public Refresh ( ) : void
Résultat void

getByID() public méthode

public getByID ( int id ) : Lookup
id int
Résultat Machete.Domain.Lookup

getByKeys() public méthode

public getByKeys ( string category, string key ) : int
category string
key string
Résultat int

getCache() public méthode

public getCache ( ) : IEnumerable
Résultat IEnumerable

getSkillsByWorkType() public méthode

public getSkillsByWorkType ( int worktypeID ) : IEnumerable
worktypeID int
Résultat IEnumerable

getTeachers() public méthode

public getTeachers ( ) : IEnumerable
Résultat IEnumerable

isSpecialized() public méthode

public isSpecialized ( int skillid ) : bool
skillid int
Résultat bool

textByID() public méthode

Get the English or Spanish name for a given lookup number
public textByID ( int ID, string locale ) : string
ID int ID of the record to look up
locale string Two Letter ISO Language Name
Résultat string