C# Class Kaffeplaneten.DAL.CustomerDAL

Inheritance: ICustomerDAL
Afficher le fichier Open project: chrban/Webapplikasjoner

Méthodes publiques

Méthode Description
CustomerDAL ( ) : System
add ( CustomerModel IncCustomer ) : bool
addAdress ( AdressModel adressModel ) : bool
addProvince ( AdressModel adress ) : bool
allCustomers ( ) : List
delete ( int id ) : bool
find ( int id ) : CustomerModel
find ( string email ) : CustomerModel
getProvince ( string zipCode ) : string
update ( CustomerModel customerModel ) : bool

Method Details

CustomerDAL() public méthode

public CustomerDAL ( ) : System
Résultat System

add() public méthode

public add ( CustomerModel IncCustomer ) : bool
IncCustomer Kaffeplaneten.Models.CustomerModel
Résultat bool

addAdress() public méthode

public addAdress ( AdressModel adressModel ) : bool
adressModel Kaffeplaneten.Models.AdressModel
Résultat bool

addProvince() public méthode

public addProvince ( AdressModel adress ) : bool
adress Kaffeplaneten.Models.AdressModel
Résultat bool

allCustomers() public méthode

public allCustomers ( ) : List
Résultat List

delete() public méthode

public delete ( int id ) : bool
id int
Résultat bool

find() public méthode

public find ( int id ) : CustomerModel
id int
Résultat Kaffeplaneten.Models.CustomerModel

find() public méthode

public find ( string email ) : CustomerModel
email string
Résultat Kaffeplaneten.Models.CustomerModel

getProvince() public méthode

public getProvince ( string zipCode ) : string
zipCode string
Résultat string

update() public méthode

public update ( CustomerModel customerModel ) : bool
customerModel Kaffeplaneten.Models.CustomerModel
Résultat bool