C# Класс Northwind.DataAccessLayer.CustomerDAO

Показать файл Открыть проект

Открытые методы

Метод Описание
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

Описание методов

AddCustomer() публичный статический Метод

public static AddCustomer ( string id, string companyName ) : void
id string
companyName string
Результат void

AddCustomer() публичный статический Метод

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
Результат void

DeleteCustomer() публичный статический Метод

public static DeleteCustomer ( string id ) : bool
id string
Результат bool

GetCustomersByOrdersYearAndShipCountry() публичный статический Метод

public static GetCustomersByOrdersYearAndShipCountry ( int year, string shipCountry ) : IEnumerable
year int
shipCountry string
Результат IEnumerable

GetCustomersByOrdersYearAndShipCountrySQL() публичный статический Метод

public static GetCustomersByOrdersYearAndShipCountrySQL ( int year, string shipCountry ) : IEnumerable
year int
shipCountry string
Результат IEnumerable

ModifyCustomer() публичный статический Метод

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
Результат bool