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

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

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

Свойство Тип Описание
Instance NorthwindDtoData

Private Properties

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

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

Метод Описание
LoadData ( bool loadImages ) : void
ToCategoryDto ( Northwind.Common.DataModel.Category model ) : Northwind.Common.ServiceModel.CategoryDto
ToCustomerCustomerDemoDto ( Northwind.Common.DataModel.CustomerCustomerDemo model ) : Northwind.Common.ServiceModel.CustomerCustomerDemoDto
ToCustomerDto ( Northwind.Common.DataModel.Customer model ) : Northwind.Common.ServiceModel.CustomerDto
ToEmployeeDto ( Northwind.Common.DataModel.Employee model ) : Northwind.Common.ServiceModel.EmployeeDto
ToEmployeeTerritoryDto ( Northwind.Common.DataModel.EmployeeTerritory model ) : Northwind.Common.ServiceModel.EmployeeTerritoryDto
ToOrderDetailDto ( Northwind.Common.DataModel.OrderDetail model ) : Northwind.Common.ServiceModel.OrderDetailDto
ToOrderDto ( Northwind.Common.DataModel.Order model ) : Northwind.Common.ServiceModel.OrderDto
ToProduct ( Northwind.Common.DataModel.Product model ) : Northwind.Common.ServiceModel.ProductDto
ToRegionDto ( Northwind.Common.DataModel.Region model ) : Northwind.Common.ServiceModel.RegionDto
ToShipperDto ( Northwind.Common.DataModel.Shipper model ) : Northwind.Common.ServiceModel.ShipperDto
ToSupplierDto ( Northwind.Common.DataModel.Supplier model ) : Northwind.Common.ServiceModel.SupplierDto
ToTerritoryDto ( Territory model ) : TerritoryDto

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

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

public static LoadData ( bool loadImages ) : void
loadImages bool
Результат void

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

public static ToCategoryDto ( Northwind.Common.DataModel.Category model ) : Northwind.Common.ServiceModel.CategoryDto
model Northwind.Common.DataModel.Category
Результат Northwind.Common.ServiceModel.CategoryDto

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

public static ToCustomerCustomerDemoDto ( Northwind.Common.DataModel.CustomerCustomerDemo model ) : Northwind.Common.ServiceModel.CustomerCustomerDemoDto
model Northwind.Common.DataModel.CustomerCustomerDemo
Результат Northwind.Common.ServiceModel.CustomerCustomerDemoDto

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

public static ToCustomerDto ( Northwind.Common.DataModel.Customer model ) : Northwind.Common.ServiceModel.CustomerDto
model Northwind.Common.DataModel.Customer
Результат Northwind.Common.ServiceModel.CustomerDto

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

public static ToEmployeeDto ( Northwind.Common.DataModel.Employee model ) : Northwind.Common.ServiceModel.EmployeeDto
model Northwind.Common.DataModel.Employee
Результат Northwind.Common.ServiceModel.EmployeeDto

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

public static ToEmployeeTerritoryDto ( Northwind.Common.DataModel.EmployeeTerritory model ) : Northwind.Common.ServiceModel.EmployeeTerritoryDto
model Northwind.Common.DataModel.EmployeeTerritory
Результат Northwind.Common.ServiceModel.EmployeeTerritoryDto

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

public static ToOrderDetailDto ( Northwind.Common.DataModel.OrderDetail model ) : Northwind.Common.ServiceModel.OrderDetailDto
model Northwind.Common.DataModel.OrderDetail
Результат Northwind.Common.ServiceModel.OrderDetailDto

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

public static ToOrderDto ( Northwind.Common.DataModel.Order model ) : Northwind.Common.ServiceModel.OrderDto
model Northwind.Common.DataModel.Order
Результат Northwind.Common.ServiceModel.OrderDto

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

public static ToProduct ( Northwind.Common.DataModel.Product model ) : Northwind.Common.ServiceModel.ProductDto
model Northwind.Common.DataModel.Product
Результат Northwind.Common.ServiceModel.ProductDto

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

public static ToRegionDto ( Northwind.Common.DataModel.Region model ) : Northwind.Common.ServiceModel.RegionDto
model Northwind.Common.DataModel.Region
Результат Northwind.Common.ServiceModel.RegionDto

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

public static ToShipperDto ( Northwind.Common.DataModel.Shipper model ) : Northwind.Common.ServiceModel.ShipperDto
model Northwind.Common.DataModel.Shipper
Результат Northwind.Common.ServiceModel.ShipperDto

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

public static ToSupplierDto ( Northwind.Common.DataModel.Supplier model ) : Northwind.Common.ServiceModel.SupplierDto
model Northwind.Common.DataModel.Supplier
Результат Northwind.Common.ServiceModel.SupplierDto

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

public static ToTerritoryDto ( Territory model ) : TerritoryDto
model Territory
Результат TerritoryDto

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

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

public static NorthwindDtoData,Northwind.Common.DataModel Instance
Результат NorthwindDtoData