C# Class PRTools.Data.CustomerRepository

Inheritance: ICustomerRepository
Afficher le fichier Open project: AcklenAvenue/PRTools

Méthodes publiques

Méthode Description
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

Method Details

Create() public méthode

public Create ( CreateCustomerRequest createCustomerRequest ) : void
createCustomerRequest PRTools.Domain.Commands.CreateCustomerRequest
Résultat void

CustomerRepository() public méthode

public CustomerRepository ( IMappingEngine mappingEngine ) : System
mappingEngine IMappingEngine
Résultat System

Delete() public méthode

public Delete ( int customerId ) : void
customerId int
Résultat void

Get() public méthode

public Get ( int customerId ) : Domain.Customer
customerId int
Résultat Domain.Customer

GetAllShallow() public méthode

public GetAllShallow ( ) : IEnumerable
Résultat IEnumerable

GetByCustomersByIds() public méthode

public GetByCustomersByIds ( IList customerIds ) : IEnumerable
customerIds IList
Résultat IEnumerable

GetChildrenCount() public méthode

public GetChildrenCount ( int customerId ) : int
customerId int
Résultat int

GetChildrenCustomers() public méthode

public GetChildrenCustomers ( int parentCustomerId ) : IEnumerable
parentCustomerId int
Résultat IEnumerable

GetCustomerDocumentCount() public méthode

public GetCustomerDocumentCount ( int customerId ) : int
customerId int
Résultat int

NameExists() public méthode

public NameExists ( string name ) : bool
name string
Résultat bool

QuickSearch() public méthode

public QuickSearch ( string searchString ) : IEnumerable
searchString string
Résultat IEnumerable

Update() public méthode

public Update ( UpdateCustomerRequest updateCustomerRequest ) : void
updateCustomerRequest PRTools.Domain.Commands.UpdateCustomerRequest
Résultat void