C# Class Northwind.Common.ServiceModel.NorthwindDtoFactory

Afficher le fichier Open project: ServiceStackV3/ServiceStack.Benchmarks

Méthodes publiques

Méthode Description
Category ( int id, string categoryName, string description, byte picture ) : Northwind.Common.ServiceModel.CategoryDto
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.ServiceModel.CustomerDto
CustomerCustomerDemo ( string customerId, string customerTypeId ) : Northwind.Common.ServiceModel.CustomerCustomerDemoDto
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.ServiceModel.EmployeeDto
EmployeeTerritory ( int employeeId, string territoryId ) : Northwind.Common.ServiceModel.EmployeeTerritoryDto
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.ServiceModel.OrderDto
OrderDetail ( int orderId, int productId, decimal unitPrice, short quantity, double discount ) : Northwind.Common.ServiceModel.OrderDetailDto
Product ( int productId, string productName, int supplierId, int categoryId, string qtyPerUnit, decimal unitPrice, short unitsInStock, short unitsOnOrder, short reorderLevel, bool discontinued ) : Northwind.Common.ServiceModel.ProductDto
Region ( int regionId, string regionDescription ) : Northwind.Common.ServiceModel.RegionDto
Shipper ( int id, string companyName, string phoneNo ) : Northwind.Common.ServiceModel.ShipperDto
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.ServiceModel.SupplierDto
Territory ( string territoryId, string territoryDescription, int regionId ) : Northwind.Common.ServiceModel.TerritoryDto

Method Details

Category() public static méthode

public static Category ( int id, string categoryName, string description, byte picture ) : Northwind.Common.ServiceModel.CategoryDto
id int
categoryName string
description string
picture byte
Résultat Northwind.Common.ServiceModel.CategoryDto

Customer() public static méthode

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.ServiceModel.CustomerDto
customerId string
companyName string
contactName string
contactTitle string
address string
city string
region string
postalCode string
country string
phoneNo string
faxNo string
picture byte
Résultat Northwind.Common.ServiceModel.CustomerDto

CustomerCustomerDemo() public static méthode

public static CustomerCustomerDemo ( string customerId, string customerTypeId ) : Northwind.Common.ServiceModel.CustomerCustomerDemoDto
customerId string
customerTypeId string
Résultat Northwind.Common.ServiceModel.CustomerCustomerDemoDto

Employee() public static méthode

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.ServiceModel.EmployeeDto
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
Résultat Northwind.Common.ServiceModel.EmployeeDto

EmployeeTerritory() public static méthode

public static EmployeeTerritory ( int employeeId, string territoryId ) : Northwind.Common.ServiceModel.EmployeeTerritoryDto
employeeId int
territoryId string
Résultat Northwind.Common.ServiceModel.EmployeeTerritoryDto

Order() public static méthode

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.ServiceModel.OrderDto
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
Résultat Northwind.Common.ServiceModel.OrderDto

OrderDetail() public static méthode

public static OrderDetail ( int orderId, int productId, decimal unitPrice, short quantity, double discount ) : Northwind.Common.ServiceModel.OrderDetailDto
orderId int
productId int
unitPrice decimal
quantity short
discount double
Résultat Northwind.Common.ServiceModel.OrderDetailDto

Product() public static méthode

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.ServiceModel.ProductDto
productId int
productName string
supplierId int
categoryId int
qtyPerUnit string
unitPrice decimal
unitsInStock short
unitsOnOrder short
reorderLevel short
discontinued bool
Résultat Northwind.Common.ServiceModel.ProductDto

Region() public static méthode

public static Region ( int regionId, string regionDescription ) : Northwind.Common.ServiceModel.RegionDto
regionId int
regionDescription string
Résultat Northwind.Common.ServiceModel.RegionDto

Shipper() public static méthode

public static Shipper ( int id, string companyName, string phoneNo ) : Northwind.Common.ServiceModel.ShipperDto
id int
companyName string
phoneNo string
Résultat Northwind.Common.ServiceModel.ShipperDto

Supplier() public static méthode

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.ServiceModel.SupplierDto
supplierId int
companyName string
contactName string
contactTitle string
address string
city string
region string
postalCode string
country string
phoneNo string
faxNo string
homePage string
Résultat Northwind.Common.ServiceModel.SupplierDto

Territory() public static méthode

public static Territory ( string territoryId, string territoryDescription, int regionId ) : Northwind.Common.ServiceModel.TerritoryDto
territoryId string
territoryDescription string
regionId int
Résultat Northwind.Common.ServiceModel.TerritoryDto