Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Source {
- int? price { get; set; }
- }
- class Destination {
- int price { get;set; }
- }
- CreateMap<Source, Destination>()
- .ForAllMembers(o => o.Condition((source, destination, member) =>
- (member != null) ));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement