EF - Exercise 2
Create the following database model using Entity Framework and Code First:
Notice, that the relationship between User, RegularUser and Staff is a Joined-Table Inheritance.
Use Constraints, such as [Required]
where you think it’s useful.
After you are done generating the database, verify the schema, for example by using DataGrip to generate a database from the current schema and compare it to the schema, given above.