1

Due to huge performance difference between Emitmapper and Automapper as well as an unanswered problem that i am facing with Automapper, i decided to move to Emitmapper. However i don't know what is the function in Emitmapper that is equal to this

Mapper.CreateMap<Unit, Unit>().ForAllMembers(opt => opt.Condition(srs => !srs.IsSourceValueNull));

As i can't prevent Emitmapper from mapping the null values.

[HINT]: If someone could help me with my problem with automapper here i would very thankful.

Community
  • 1
  • 1
Roman Ratskey
  • 5,101
  • 8
  • 44
  • 67

0 Answers0