IMappingExpression<TSource, TDestination> CreateMap<TSource, TDestination>(MemberList memberList);
Mapper.Initialize(cfg => cfg.CreateMap()); //or var config = new MapperConfiguration(cfg => cfg.CreateMap ()); IMappingExpression ForMember (Expression > destinationMember, Action > memberOptions);
var mapper = config.CreateMapper(); // or var mapper = new Mapper(config); OrderDto dto = mapper.Map(order); // or OrderDto dto = Mapper.Map (order);