AutoMapper to map null values

AutoMapper to map null values.

I’m having a problem where automapper always skip mapping null values.

I want it to map null values, how can I do this?

 cfg.CreateMap<item, category>().IncludeAllDerived(); 

submitted by /u/Lekowski
[link] [comments]

Leave a Reply