Advertisement
Guest User

Untitled

a guest
Jun 16th, 2019
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. class Source {
  2. int? price { get; set; }
  3. }
  4.  
  5. class Destination {
  6. int price { get;set; }
  7. }
  8.  
  9. CreateMap<Source, Destination>()
  10. .ForAllMembers(o => o.Condition((source, destination, member) =>
  11. (member != null) ));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement