C# 클래스 Raven.Documentation.Articles.articles.Samples.EmployeeRepository

상속: IEmployeeRepository, IDisposable
파일 보기 프로젝트 열기: ravendb/docs

공개 메소드들

메소드 설명
CreateEmployee ( EmployeeId id, FullName name, decimal initialSalary ) : void
Dispose ( ) : void
EmployeeRepository ( ) : System
IsRegistered ( EmployeeId id ) : bool
Load ( EmployeeId id ) : Employee
RaiseSalary ( EmployeeId id, decimal amount ) : void
UpdateHomeAddress ( EmployeeId id, Address homeAddress ) : void

메소드 상세

CreateEmployee() 공개 메소드

public CreateEmployee ( EmployeeId id, FullName name, decimal initialSalary ) : void
id EmployeeId
name FullName
initialSalary decimal
리턴 void

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

EmployeeRepository() 공개 메소드

public EmployeeRepository ( ) : System
리턴 System

IsRegistered() 공개 메소드

public IsRegistered ( EmployeeId id ) : bool
id EmployeeId
리턴 bool

Load() 공개 메소드

public Load ( EmployeeId id ) : Employee
id EmployeeId
리턴 Employee

RaiseSalary() 공개 메소드

public RaiseSalary ( EmployeeId id, decimal amount ) : void
id EmployeeId
amount decimal
리턴 void

UpdateHomeAddress() 공개 메소드

public UpdateHomeAddress ( EmployeeId id, Address homeAddress ) : void
id EmployeeId
homeAddress Address
리턴 void