C# Class Northwind.DataAccessLayer.CustomerDAO

Afficher le fichier Open project: vladislav-karamfilov/TelerikAcademy

Méthodes publiques

Méthode Description
AddCustomer ( string id, string companyName ) : void
AddCustomer ( string id, string companyName, string contactName, string contactTitle, string address, string city, string region, string postalCode, string country, string phone, string fax ) : void
DeleteCustomer ( string id ) : bool
GetCustomersByOrdersYearAndShipCountry ( int year, string shipCountry ) : IEnumerable
GetCustomersByOrdersYearAndShipCountrySQL ( int year, string shipCountry ) : IEnumerable
ModifyCustomer ( string id, string newCompanyName, string newContactName, string newContactTitle, string newAddress, string newCity, string newRegion, string newPostalCode, string newCountry, string newPhone, string newFax ) : bool

Method Details

AddCustomer() public static méthode

public static AddCustomer ( string id, string companyName ) : void
id string
companyName string
Résultat void

AddCustomer() public static méthode

public static AddCustomer ( string id, string companyName, string contactName, string contactTitle, string address, string city, string region, string postalCode, string country, string phone, string fax ) : void
id string
companyName string
contactName string
contactTitle string
address string
city string
region string
postalCode string
country string
phone string
fax string
Résultat void

DeleteCustomer() public static méthode

public static DeleteCustomer ( string id ) : bool
id string
Résultat bool

GetCustomersByOrdersYearAndShipCountry() public static méthode

public static GetCustomersByOrdersYearAndShipCountry ( int year, string shipCountry ) : IEnumerable
year int
shipCountry string
Résultat IEnumerable

GetCustomersByOrdersYearAndShipCountrySQL() public static méthode

public static GetCustomersByOrdersYearAndShipCountrySQL ( int year, string shipCountry ) : IEnumerable
year int
shipCountry string
Résultat IEnumerable

ModifyCustomer() public static méthode

public static ModifyCustomer ( string id, string newCompanyName, string newContactName, string newContactTitle, string newAddress, string newCity, string newRegion, string newPostalCode, string newCountry, string newPhone, string newFax ) : bool
id string
newCompanyName string
newContactName string
newContactTitle string
newAddress string
newCity string
newRegion string
newPostalCode string
newCountry string
newPhone string
newFax string
Résultat bool