Table of Contents

Method CreateMap

Namespace
Mapperion
Assembly
Mapperion.dll

CreateMap<TSource, TDestination>()

Declares a map between two types.

protected IMappingExpression<TSource, TDestination> CreateMap<TSource, TDestination>()

Returns

IMappingExpression<TSource, TDestination>

The expression used to configure the map.

Type Parameters

TSource

The source type.

TDestination

The destination type.

CreateMap(Type, Type)

Declares a map with types rather than type arguments, for an open generic pair.

protected IOpenMappingExpression CreateMap(Type sourceType, Type destinationType)

Parameters

sourceType Type

The source type.

destinationType Type

The destination type.

Returns

IOpenMappingExpression

The expression used to configure the map.