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.
Declaration Syntax
C# | Visual Basic |
public static IList<ProductDto> ToDataTransferObjects( IEnumerable<Product> products )
Public Shared Function ToDataTransferObjects ( _ products As IEnumerable(Of Product) _ ) As IList(Of ProductDto)
Parameters
- products (IEnumerable<(Of <(Product>)>))
- List of Product BOs.
Return Value
List of Product DTOs.