Mapper.CreateMap<Source, Destination>()
.ForMember(dest => dest.SomeValuefff, opt => opt.Ignore());
Automapper忽略映射某字段的映射写法
原文:https://www.cnblogs.com/lishidefengchen/p/13246555.html