CreateMap<Temp_ProductImage, ProductImage>() .ForMember(x => x.Id, opt => opt.Ignore()); CreateMap<Temp_Product, Product>() .ForMember(x => x.ProductImageList, opt => opt.MapFrom(src => src.Temp_ProductImageList));