- Create the new entity in Core
- Make it extend BaseEntity
- Configure it in the DbContext.OnModelCreating() and create a new method in TeamTunerContext.EntityConfigurations where the constraints will be configured.
- Generate migrations
- How to create Sqlite trigger to update the entity version on create/update/delete
- Create a repository interface extending IRepository in Repositories. Create it even if it remains empty, we want a dedicated repository for every entity.
- Implent the repository interface in Repositories
Now everything is ready to use the entity in the business and api layers