Interface IEntityFactory<T>
Represents a factory for creating entities of type T.
public interface IEntityFactory<T> where T : class
Type Parameters
T
The type of entity.
Methods
- Create()
Creates a new instance of the entity.
Represents a factory for creating entities of type T.
public interface IEntityFactory<T> where T : class
T
The type of entity.
Creates a new instance of the entity.