Template Documentation
Template.Service.Core Namespace |
Classes
Class | Description | |
---|---|---|
GenericServiceTModel, TEntity |
Works as a Generic Service, to use the most commons functions of every service and encapsule them here, to avoid duplicated code.
This class implements IServiceTModel with the common functions and IAutoMapperTModel, TEntity, to map objects between DTO and Entities and viceverse,
The navigation properties will be mapping on a deep of 5 objects by default, if you wanna change that, change de value of MaxDeep on the GenericServiceTModel, TEntity constructor
|