Interface IModel<TEntity>
- Namespace
- Magicalizer.Domain.Models.Abstractions
- Assembly
- Magicalizer.Domain.Models.Abstractions.dll
Model that can be converted to an entity.
public interface IModel<TEntity> : IModel where TEntity : class, IEntity
Type Parameters
TEntityEntity type.
Methods
ToEntity()
Converts the model to the entity.
TEntity ToEntity()
Returns
- TEntity
Entity.