C# 클래스 Investor.Common.Service.Client.Data.ClientRepository

상속: IClientRepository
파일 보기 프로젝트 열기: johnhinz/Investor

보호된 프로퍼티들

프로퍼티 타입 설명
_db InvestorContext

공개 메소드들

메소드 설명
ClientRepository ( ) : System.Collections.Generic
Create ( ClientPoco client ) : void
CreateAddress ( long id, ClientAddressPoco address ) : void
CreatePhoneNumber ( long id, ClientPhoneNumberPoco phonenumber ) : void
DeleteAddress ( long clientid, long addressid ) : void
DeleteClient ( long id ) : void
DeletePhoneNumber ( long clientid, long phonenumberid ) : void
Read ( long id ) : ClientPoco
ReadAddresses ( long id ) : IEnumerable
ReadFirstName ( string firstname ) : IEnumerable
ReadLastName ( string searchString ) : IEnumerable
ReadOneAddress ( long clientId, long addressId ) : IEnumerable
ReadOnePhoneNumber ( long clientId, long phonenumberId ) : IEnumerable
ReadPhoneNumbers ( long id ) : IEnumerable
UpdateAddress ( long clientId, long addressId, ClientAddressPoco address ) : void
UpdateClient ( ClientPoco client ) : void
UpdatePhoneNumber ( long clientId, long PhoneNumberId, ClientPhoneNumberPoco phonenumber ) : void

메소드 상세

ClientRepository() 공개 메소드

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

Create() 공개 메소드

public Create ( ClientPoco client ) : void
client Investor.Common.Shared.Pocos.ClientPoco
리턴 void

CreateAddress() 공개 메소드

public CreateAddress ( long id, ClientAddressPoco address ) : void
id long
address Investor.Common.Shared.Pocos.ClientAddressPoco
리턴 void

CreatePhoneNumber() 공개 메소드

public CreatePhoneNumber ( long id, ClientPhoneNumberPoco phonenumber ) : void
id long
phonenumber Investor.Common.Shared.Pocos.ClientPhoneNumberPoco
리턴 void

DeleteAddress() 공개 메소드

public DeleteAddress ( long clientid, long addressid ) : void
clientid long
addressid long
리턴 void

DeleteClient() 공개 메소드

public DeleteClient ( long id ) : void
id long
리턴 void

DeletePhoneNumber() 공개 메소드

public DeletePhoneNumber ( long clientid, long phonenumberid ) : void
clientid long
phonenumberid long
리턴 void

Read() 공개 메소드

public Read ( long id ) : ClientPoco
id long
리턴 Investor.Common.Shared.Pocos.ClientPoco

ReadAddresses() 공개 메소드

public ReadAddresses ( long id ) : IEnumerable
id long
리턴 IEnumerable

ReadFirstName() 공개 메소드

public ReadFirstName ( string firstname ) : IEnumerable
firstname string
리턴 IEnumerable

ReadLastName() 공개 메소드

public ReadLastName ( string searchString ) : IEnumerable
searchString string
리턴 IEnumerable

ReadOneAddress() 공개 메소드

public ReadOneAddress ( long clientId, long addressId ) : IEnumerable
clientId long
addressId long
리턴 IEnumerable

ReadOnePhoneNumber() 공개 메소드

public ReadOnePhoneNumber ( long clientId, long phonenumberId ) : IEnumerable
clientId long
phonenumberId long
리턴 IEnumerable

ReadPhoneNumbers() 공개 메소드

public ReadPhoneNumbers ( long id ) : IEnumerable
id long
리턴 IEnumerable

UpdateAddress() 공개 메소드

public UpdateAddress ( long clientId, long addressId, ClientAddressPoco address ) : void
clientId long
addressId long
address ClientAddressPoco
리턴 void

UpdateClient() 공개 메소드

public UpdateClient ( ClientPoco client ) : void
client ClientPoco
리턴 void

UpdatePhoneNumber() 공개 메소드

public UpdatePhoneNumber ( long clientId, long PhoneNumberId, ClientPhoneNumberPoco phonenumber ) : void
clientId long
PhoneNumberId long
phonenumber ClientPhoneNumberPoco
리턴 void

프로퍼티 상세

_db 보호되어 있는 프로퍼티

protected InvestorContext _db
리턴 InvestorContext