C# 클래스 Machete.Service.LookupCache

상속: ILookupCache
파일 보기 프로젝트 열기: SavageLearning/Machete 1 사용 예제들

Private Properties

프로퍼티 타입 설명
FillCache void

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
FillCache ( ) : void

메소드 상세

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

LookupCache() 공개 메소드

public LookupCache ( IDatabaseFactory db ) : System
db IDatabaseFactory
리턴 System

Refresh() 공개 메소드

public Refresh ( ) : void
리턴 void

getByID() 공개 메소드

public getByID ( int id ) : Lookup
id int
리턴 Machete.Domain.Lookup

getByKeys() 공개 메소드

public getByKeys ( string category, string key ) : int
category string
key string
리턴 int

getCache() 공개 메소드

public getCache ( ) : IEnumerable
리턴 IEnumerable

getSkillsByWorkType() 공개 메소드

public getSkillsByWorkType ( int worktypeID ) : IEnumerable
worktypeID int
리턴 IEnumerable

getTeachers() 공개 메소드

public getTeachers ( ) : IEnumerable
리턴 IEnumerable

isSpecialized() 공개 메소드

public isSpecialized ( int skillid ) : bool
skillid int
리턴 bool

textByID() 공개 메소드

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
리턴 string