Design Pattern Framework 3.5
ToDataTransferObjects Method (orderDetails)
Patterns-In-Action! Application ► ActionService.DataTransferObjectMapper ► Mapper ► ToDataTransferObjects(IEnumerable<(Of <(OrderDetail>)>))
Transfers list of OrderDetail BOs to list of OrderDetail DTOs.
Declaration Syntax
C# | Visual Basic |
public static OrderDetailDto[] ToDataTransferObjects( IEnumerable<OrderDetail> orderDetails )
Public Shared Function ToDataTransferObjects ( _ orderDetails As IEnumerable(Of OrderDetail) _ ) As OrderDetailDto()
Parameters
- orderDetails (IEnumerable<(Of <(OrderDetail>)>))
- List of OrderDetail BOs.
Return Value
List of OrderDetail DTOs.