Design Pattern Framework 3.5
ToDataTransferObject Method (cart)
Patterns-In-Action! Application ► ActionService.DataTransferObjectMapper ► Mapper ► ToDataTransferObject(ShoppingCart)
Transfers a Shopping Cart BO to Shopping Cart DTO.
Declaration Syntax
C# | Visual Basic |
public static ShoppingCartDto ToDataTransferObject( ShoppingCart cart )
Public Shared Function ToDataTransferObject ( _ cart As ShoppingCart _ ) As ShoppingCartDto
Parameters
- cart (ShoppingCart)
- Shopping Cart BO.
Return Value
Shopping Cart DTO.