C# Класс Northwind.Common.DataModel.NorthwindFactory

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
ModelTypes List

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

Метод Описание
Category ( int id, string categoryName, string description, byte picture ) : Northwind.Common.DataModel.Category
Customer ( string customerId, string companyName, string contactName, string contactTitle, string address, string city, string region, string postalCode, string country, string phoneNo, string faxNo, byte picture ) : Northwind.Common.DataModel.Customer
CustomerCustomerDemo ( string customerId, string customerTypeId ) : Northwind.Common.DataModel.CustomerCustomerDemo
Employee ( int employeeId, string lastName, string firstName, string title, string titleOfCourtesy, System.DateTime birthDate, System.DateTime hireDate, string address, string city, string region, string postalCode, string country, string homePhone, string extension, byte photo, string notes, int reportsTo, string photoPath ) : Northwind.Common.DataModel.Employee
EmployeeTerritory ( int employeeId, string territoryId ) : Northwind.Common.DataModel.EmployeeTerritory
Order ( int orderId, string customerId, int employeeId, System.DateTime orderDate, System.DateTime requiredDate, System.DateTime shippedDate, int shipVia, decimal freight, string shipName, string address, string city, string region, string postalCode, string country ) : Northwind.Common.DataModel.Order
OrderDetail ( int orderId, int productId, decimal unitPrice, short quantity, double discount ) : Northwind.Common.DataModel.OrderDetail
Product ( int productId, string productName, int supplierId, int categoryId, string qtyPerUnit, decimal unitPrice, short unitsInStock, short unitsOnOrder, short reorderLevel, bool discontinued ) : Northwind.Common.DataModel.Product
Region ( int regionId, string regionDescription ) : Northwind.Common.DataModel.Region
Shipper ( int id, string companyName, string phoneNo ) : Northwind.Common.DataModel.Shipper
Supplier ( int supplierId, string companyName, string contactName, string contactTitle, string address, string city, string region, string postalCode, string country, string phoneNo, string faxNo, string homePage ) : Northwind.Common.DataModel.Supplier
Territory ( string territoryId, string territoryDescription, int regionId ) : Northwind.Common.DataModel.Territory

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

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

public static Category ( int id, string categoryName, string description, byte picture ) : Northwind.Common.DataModel.Category
id int
categoryName string
description string
picture byte
Результат Northwind.Common.DataModel.Category

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

public static Customer ( string customerId, string companyName, string contactName, string contactTitle, string address, string city, string region, string postalCode, string country, string phoneNo, string faxNo, byte picture ) : Northwind.Common.DataModel.Customer
customerId string
companyName string
contactName string
contactTitle string
address string
city string
region string
postalCode string
country string
phoneNo string
faxNo string
picture byte
Результат Northwind.Common.DataModel.Customer

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

public static CustomerCustomerDemo ( string customerId, string customerTypeId ) : Northwind.Common.DataModel.CustomerCustomerDemo
customerId string
customerTypeId string
Результат Northwind.Common.DataModel.CustomerCustomerDemo

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

public static Employee ( int employeeId, string lastName, string firstName, string title, string titleOfCourtesy, System.DateTime birthDate, System.DateTime hireDate, string address, string city, string region, string postalCode, string country, string homePhone, string extension, byte photo, string notes, int reportsTo, string photoPath ) : Northwind.Common.DataModel.Employee
employeeId int
lastName string
firstName string
title string
titleOfCourtesy string
birthDate System.DateTime
hireDate System.DateTime
address string
city string
region string
postalCode string
country string
homePhone string
extension string
photo byte
notes string
reportsTo int
photoPath string
Результат Northwind.Common.DataModel.Employee

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

public static EmployeeTerritory ( int employeeId, string territoryId ) : Northwind.Common.DataModel.EmployeeTerritory
employeeId int
territoryId string
Результат Northwind.Common.DataModel.EmployeeTerritory

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

public static Order ( int orderId, string customerId, int employeeId, System.DateTime orderDate, System.DateTime requiredDate, System.DateTime shippedDate, int shipVia, decimal freight, string shipName, string address, string city, string region, string postalCode, string country ) : Northwind.Common.DataModel.Order
orderId int
customerId string
employeeId int
orderDate System.DateTime
requiredDate System.DateTime
shippedDate System.DateTime
shipVia int
freight decimal
shipName string
address string
city string
region string
postalCode string
country string
Результат Northwind.Common.DataModel.Order

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

public static OrderDetail ( int orderId, int productId, decimal unitPrice, short quantity, double discount ) : Northwind.Common.DataModel.OrderDetail
orderId int
productId int
unitPrice decimal
quantity short
discount double
Результат Northwind.Common.DataModel.OrderDetail

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

public static Product ( int productId, string productName, int supplierId, int categoryId, string qtyPerUnit, decimal unitPrice, short unitsInStock, short unitsOnOrder, short reorderLevel, bool discontinued ) : Northwind.Common.DataModel.Product
productId int
productName string
supplierId int
categoryId int
qtyPerUnit string
unitPrice decimal
unitsInStock short
unitsOnOrder short
reorderLevel short
discontinued bool
Результат Northwind.Common.DataModel.Product

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

public static Region ( int regionId, string regionDescription ) : Northwind.Common.DataModel.Region
regionId int
regionDescription string
Результат Northwind.Common.DataModel.Region

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

public static Shipper ( int id, string companyName, string phoneNo ) : Northwind.Common.DataModel.Shipper
id int
companyName string
phoneNo string
Результат Northwind.Common.DataModel.Shipper

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

public static Supplier ( int supplierId, string companyName, string contactName, string contactTitle, string address, string city, string region, string postalCode, string country, string phoneNo, string faxNo, string homePage ) : Northwind.Common.DataModel.Supplier
supplierId int
companyName string
contactName string
contactTitle string
address string
city string
region string
postalCode string
country string
phoneNo string
faxNo string
homePage string
Результат Northwind.Common.DataModel.Supplier

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

public static Territory ( string territoryId, string territoryDescription, int regionId ) : Northwind.Common.DataModel.Territory
territoryId string
territoryDescription string
regionId int
Результат Northwind.Common.DataModel.Territory

Описание свойств

ModelTypes публичное статическое свойство

public static List ModelTypes
Результат List