Note that the mapper tries to convert the source values to their destination types.

ObjectToObject.cs <% ..\..\..\HowTo\Mapping\ObjectToObject.cs %> To map data to inner objects the MapField attribute can be used in the following way:

MapFieldAttribute.cs <% ..\..\..\HowTo\Mapping\MapFieldAttribute.cs %>