C# 클래스 PersonRepository.Service.ServiceRepository

파일 보기 프로젝트 열기: jeremybytes/learning-dependency-injection 1 사용 예제들

공개 메소드들

메소드 설명
AddPerson ( Person newPerson ) : void
DeletePerson ( string lastName ) : void
GetPeople ( ) : IEnumerable
GetPerson ( string lastName ) : Person
ServiceRepository ( ) : System.Collections.Generic
UpdatePeople ( IEnumerable updatedPeople ) : void
UpdatePerson ( string lastName, Person updatedPerson ) : void

메소드 상세

AddPerson() 공개 메소드

public AddPerson ( Person newPerson ) : void
newPerson Common.Person
리턴 void

DeletePerson() 공개 메소드

public DeletePerson ( string lastName ) : void
lastName string
리턴 void

GetPeople() 공개 메소드

public GetPeople ( ) : IEnumerable
리턴 IEnumerable

GetPerson() 공개 메소드

public GetPerson ( string lastName ) : Person
lastName string
리턴 Common.Person

ServiceRepository() 공개 메소드

public ServiceRepository ( ) : System.Collections.Generic
리턴 System.Collections.Generic

UpdatePeople() 공개 메소드

public UpdatePeople ( IEnumerable updatedPeople ) : void
updatedPeople IEnumerable
리턴 void

UpdatePerson() 공개 메소드

public UpdatePerson ( string lastName, Person updatedPerson ) : void
lastName string
updatedPerson Common.Person
리턴 void