Consider that I have an Instructor
class:
public class Instructor
{
public InstructorTypesEnum Type { get; set; }
public virtual ICollectio
What's more - you shouldn't use GUID as entity ID. It hurts performance.
public Guid InstructorId { get; set; }
Try to replace it with for example int.
You can use the InversePropertyAttribute
On your model, I think it would be (not verified):
public class Instructor
{
public InstructorTypesEnum Type { get; set; }
[InverseProperty("Instructors")]
public virtual ICollection<Course> Courses { get; set; }
[InverseProperty("Coinstructors")]
public virtual ICollection<Course> CoInstructingCourses { get; set; }
}