Roman Ratskey
Roman Ratskey

Reputation: 5269

Emitmapper Don't Map Null

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.

Upvotes: 1

Views: 177

Answers (0)

Related Questions