Consider that I have an Instructor
class:
public class Instructor
{
public InstructorTypesEnum Type { get; set; }
public virtual ICollectio
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 Courses { get; set; }
[InverseProperty("Coinstructors")]
public virtual ICollection CoInstructingCourses { get; set; }
}