IMappingExpression<TSource, TDestination>
public interface IMappingExpression<TSource, TDestination> : IMappingExpressionBase<TSource, TDestination, IMappingExpression<TSource, TDestination>>
Mapping configuration options
IMappingExpression<TSource, TDestination> AddTransform<TValue>(Expression<Func<TValue, TValue>> transformer)
Apply a transformation function after any resolved destination member value with the given type
Override the destination type mapping for looking up configuration and instantiation
void ForAllMembers(Action<IMemberConfigurationExpression<TSource, TDestination, object>> memberOptions)
Customize configuration for all members
void ForAllOtherMembers(Action<IMemberConfigurationExpression<TSource, TDestination, object>> memberOptions)
Customize configuration for members not previously configured
IMappingExpression<TSource, TDestination> ForMember<TMember>(Expression<Func<TDestination, TMember>> destinationMember, Action<IMemberConfigurationExpression<TSource, TDestination, TMember>> memberOptions)
Customize configuration for individual member
IMappingExpression<TSource, TDestination> ForMember(string name, Action<IMemberConfigurationExpression<TSource, TDestination, object>> memberOptions)
Customize configuration for individual member. Used when the name isn't known at compile-time
IMappingExpression<TSource, TDestination> ForPath<TMember>(Expression<Func<TDestination, TMember>> destinationMember, Action<IPathConfigurationExpression<TSource, TDestination, TMember>> memberOptions)
Customize configuration for a path inside the destination object.
IMappingExpression<TSource, TDestination> ForSourceMember(Expression<Func<TSource, object>> sourceMember, Action<ISourceMemberConfigurationExpression> memberOptions)
Customize configuration for an individual source member
IMappingExpression<TSource, TDestination> Include<TOtherSource, TOtherDestination>() where TOtherSource : TSource where TOtherDestination : TDestination
Include this configuration in derived types' maps
Include the base type map's configuration in this map
IMappingExpression<TSource, TDestination> IncludeMembers(Expression<Func<TSource, object>>[] memberExpressions)
Add extra configuration to the current map by also mapping the specified child objects to the destination object.
The maps from the child types to the destination need to be created explicitly.
Create a type mapping from the destination to the source type, using the TDestination members as validation