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