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