Method ReverseMap
- Namespace
- Mapperion
- Assembly
- Mapperion.dll
ReverseMap()
Declares the map in the opposite direction and returns it, so it can be configured
further. Members configured here with a plain MapFrom onto a single writable
source member are inverted; flattened paths, arbitrary expressions and ignored members
are not, and the reverse resolves those by convention instead.
IMappingExpression<TDestination, TSource> ReverseMap()
Returns
- IMappingExpression<TDestination, TSource>
The expression configuring the reverse map.
Exceptions
- MapperConfigurationException
The reverse pair was already declared.