Template Documentation
IAutoMapperTModel, TEntityToModel Method |
Converts an entity to a model
Namespace: Template.Service.Core.Interface
Assembly: Template.Service (in Template.Service.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
TModel ToModel( TEntity entity )
Parameters
- entity
- Type: TEntity
The entity to be converted
Return Value
Type: TModelThe model object
See Also