Assuming the Date is a nullable DateTime:
Mapper.CreateMap()
.ForMember(d
In recent versions of AutoMapper, ResolveUsing was removed. Instead, use a new overload of MapFrom:
void MapFrom(Func mappingFunction);
Just adding another lambda/function parameter will dispatch to this new overload:
CreateMap()
.ForMember(dest => dest.SomeDestProp, opt => opt.MapFrom((src, dest) =>
{
TSomeDestProp destinationValue;
// mapping logic goes here
return destinationValue;
}));