C# 클래스 Tests.Repository.EmployeeCachingRepository

파일 보기 프로젝트 열기: docevaad/Chain

공개 메소드들

메소드 설명
Delete ( int id ) : void
EmployeeCachingRepository ( IClass1DataSource source, CachePolicy policy = null ) : System.Collections.Generic
Get ( int id ) : Employee
GetAll ( ) : IList
Insert ( Employee entity ) : Employee
Update ( Employee entity ) : Employee

보호된 메소드들

메소드 설명
CacheKey ( Employee entity ) : string
CacheKey ( int id ) : string

메소드 상세

CacheKey() 보호된 메소드

protected CacheKey ( Employee entity ) : string
entity Tests.Models.Employee
리턴 string

CacheKey() 보호된 메소드

protected CacheKey ( int id ) : string
id int
리턴 string

Delete() 공개 메소드

public Delete ( int id ) : void
id int
리턴 void

EmployeeCachingRepository() 공개 메소드

public EmployeeCachingRepository ( IClass1DataSource source, CachePolicy policy = null ) : System.Collections.Generic
source IClass1DataSource
policy Tortuga.Chain.CachePolicy
리턴 System.Collections.Generic

Get() 공개 메소드

public Get ( int id ) : Employee
id int
리턴 Tests.Models.Employee

GetAll() 공개 메소드

public GetAll ( ) : IList
리턴 IList

Insert() 공개 메소드

public Insert ( Employee entity ) : Employee
entity Tests.Models.Employee
리턴 Tests.Models.Employee

Update() 공개 메소드

public Update ( Employee entity ) : Employee
entity Tests.Models.Employee
리턴 Tests.Models.Employee