C# 클래스 PRTools.Data.CustomerRepository

상속: ICustomerRepository
파일 보기 프로젝트 열기: AcklenAvenue/PRTools

공개 메소드들

메소드 설명
Create ( CreateCustomerRequest createCustomerRequest ) : void
CustomerRepository ( IMappingEngine mappingEngine ) : System
Delete ( int customerId ) : void
Get ( int customerId ) : Domain.Customer
GetAllShallow ( ) : IEnumerable
GetByCustomersByIds ( IList customerIds ) : IEnumerable
GetChildrenCount ( int customerId ) : int
GetChildrenCustomers ( int parentCustomerId ) : IEnumerable
GetCustomerDocumentCount ( int customerId ) : int
NameExists ( string name ) : bool
QuickSearch ( string searchString ) : IEnumerable
Update ( UpdateCustomerRequest updateCustomerRequest ) : void

메소드 상세

Create() 공개 메소드

public Create ( CreateCustomerRequest createCustomerRequest ) : void
createCustomerRequest PRTools.Domain.Commands.CreateCustomerRequest
리턴 void

CustomerRepository() 공개 메소드

public CustomerRepository ( IMappingEngine mappingEngine ) : System
mappingEngine IMappingEngine
리턴 System

Delete() 공개 메소드

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

Get() 공개 메소드

public Get ( int customerId ) : Domain.Customer
customerId int
리턴 Domain.Customer

GetAllShallow() 공개 메소드

public GetAllShallow ( ) : IEnumerable
리턴 IEnumerable

GetByCustomersByIds() 공개 메소드

public GetByCustomersByIds ( IList customerIds ) : IEnumerable
customerIds IList
리턴 IEnumerable

GetChildrenCount() 공개 메소드

public GetChildrenCount ( int customerId ) : int
customerId int
리턴 int

GetChildrenCustomers() 공개 메소드

public GetChildrenCustomers ( int parentCustomerId ) : IEnumerable
parentCustomerId int
리턴 IEnumerable

GetCustomerDocumentCount() 공개 메소드

public GetCustomerDocumentCount ( int customerId ) : int
customerId int
리턴 int

NameExists() 공개 메소드

public NameExists ( string name ) : bool
name string
리턴 bool

QuickSearch() 공개 메소드

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

Update() 공개 메소드

public Update ( UpdateCustomerRequest updateCustomerRequest ) : void
updateCustomerRequest PRTools.Domain.Commands.UpdateCustomerRequest
리턴 void