AutoMapper
AutoMapper copied to clipboard
Mapper won't map fields if they are not defined with ForMember
As default functionality I'd expect fields to be mapped if they are equal on source and destination, but this is not the case. Unless I spefically do a forMember per field all fields are ignored, even when using forAllMembers this happens.
I noticed this behavior only when I add 'convertToType()' for strong typing of the result object, otherwise everything works just fine.