Suoranta.EnterpriseLib.Web - Developer API

EntityProfile..::..CreateMapToEntity<(Of <(<'TSource, TEntity>)>)> Method

As [Profile.CreateMap{TSource, TEntity}()]

Namespace:  Suoranta.EnterpriseLib.Util.AutoMapper
Assembly:  Suoranta.EnterpriseLib.Web (in Suoranta.EnterpriseLib.Web.dll)

Syntax


protected IMappingExpression<TSource, TEntity> CreateMapToEntity<TSource, TEntity>()
where TSource : IDataTransferObject
where TEntity : IEntity

Type Parameters

TSource
The type of the source DTO.
TEntity
The type of the entity.

Return Value