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