I was tasked with doing my homework to do a task tracker. I wanted to study the entity structure for this assignment, especially how to use aspects of inheritance. Projects, tasks, and subtasks have many similar properties, so I thought I would use inheritance, but I can’t figure out how to request specific projects.
I drew this diagram in Visual Studio:

Then I created a database from this model. How can I get employee projects?
I started with this:
ModelContainer m = new ModelContainer();
var employee = (from e in m.Employees
where e.UserName == username
select e).First<Employee>();
But ((Employee)employee).Projectsunavailable, but ((Employee)employee).Itemsthere is. ((Employee)employee).Items.Projectsalso unavailable. How to get Employee projects? Should I add a navigation property for employees for this?