Design Pattern Framework 3.5
Mapper Class
Maps DTOs (Data Transfer Objects) to BOs (Business Objects) and vice versa.

C# | Visual Basic |
public static class Mapper
Public NotInheritable Class Mapper

All Members | Methods | ||||
|
|
|
Icon | Member | Description |
---|---|---|
![]() ![]() |
FromDataTransferObject(CustomerDto) |
Transfers Customer DTO to Customer BO.
|
![]() ![]() |
FromDataTransferObject(ShoppingCartItemDto) |
Transfers Shopping Cart Item DTO to Shopping Cart Item BO.
|
![]() ![]() |
ToDataTransferObject(Category) |
Transforms category BO to category DTO.
|
![]() ![]() |
ToDataTransferObject(Product) |
Transforms Product BO to Product DTO.
|
![]() ![]() |
ToDataTransferObject(Customer) |
Transforms Customer BO to Customer DTO.
|
![]() ![]() |
ToDataTransferObject(Order) |
Transfers Order BO to Order DTO.
|
![]() ![]() |
ToDataTransferObject(OrderDetail) |
Transfers OrderDetail BO to OrderDetail DTO.
|
![]() ![]() |
ToDataTransferObject(ShoppingCart) |
Transfers a Shopping Cart BO to Shopping Cart DTO.
|
![]() ![]() |
ToDataTransferObjects(IEnumerable<(Of <(Category>)>)) |
Transforms list of category BOs list of category DTOs.
|
![]() ![]() |
ToDataTransferObjects(IEnumerable<(Of <(Product>)>)) |
Transforms list of Product BOs to list of Product DTOs.
|
![]() ![]() |
ToDataTransferObjects(IEnumerable<(Of <(Customer>)>)) |
Transforms list of Customer BOs to list of Customer DTOs.
|
![]() ![]() |
ToDataTransferObjects(IEnumerable<(Of <(Order>)>)) |
Transforms list of Order BOs to list of Order DTOs.
|
![]() ![]() |
ToDataTransferObjects(IEnumerable<(Of <(OrderDetail>)>)) |
Transfers list of OrderDetail BOs to list of OrderDetail DTOs.
|

Object | |
![]() |
Mapper |