ToDataTransferObjects Method (products)
From Design Pattern Framework 3.5
Design Pattern Framework 3.5
ToDataTransferObjects Method (products)
Patterns-In-Action! Application ► ActionService.DataTransferObjectMapper ► Mapper ► ToDataTransferObjects(IEnumerable<(Of <(Product>)>))
Transforms list of Product BOs to list of Product DTOs.
| C# | Visual Basic |
public static IList<ProductDto> ToDataTransferObjects( IEnumerable<Product> products )
Public Shared Function ToDataTransferObjects ( _ products As IEnumerable(Of Product) _ ) As IList(Of ProductDto)
- products (IEnumerable<(Of <(Product>)>))
- List of Product BOs.
List of Product DTOs.