If I want to do bi-directional mapping, do I need to create two mapping?
Mapper.CreateMap() and Mapper.CreateMap()?
Mapper.CreateMap() and Mapper.CreateMap()
Great idea Eric! I've added a return value, so the reverse mapping is configurable too.
public static class AutoMapperExtensions { public static IMappingExpression Bidirectional(this IMappingExpression expression) { return Mapper.CreateMap(); } }