The sample code doesn't come with types that inherit from base types.
So I'm wondering, in the case of DTO's, would adding a "KnownType" attribute for each descendant to the base type be the way to handle this? I've attached a code example. It's probably obvious, but "BaseDevice" is the abstract base, and Camera and Phone are descendants.
Also, what would change in the DataTransferObjectMapper, if anything?
Thanks in advance,
Public Class BaseDeviceDto
''' Internal stock keeping unit code.
Public SKU As String
''' A friendly description.
Public Description As String