I see that I can build a mapping for one-entity to one-dto using MappingBuilder().Map(..). and then transforming is done using mapper.Transform(source). But is there a way to map one entity-type to many Dto types so I will be able to use something like this: Dto1 dto1 = mapper.Transform<dto1>(source); Dto2 dto2 = mapper.Transfrom<dto2>(source); Thanks, David This thread was imported from our support forum. The original discussion may contain more detailed answer. Original topic by david_csharp. |
No, it isn't possible. One of the core principles of the current O2O implementation is one-to-one type mapping.