I have one entity like this:
public class Course
{
public int Id { get; set; }
public string Name { get; set; }
public virtual ICollection<Course> Prerequisites { get; set; }
public virtual ICollection<Course> Equivalents { get; set; }
public Course()
{
Prerequisites = new HashSet<Course>();
Equivalents = new HashSet<Course>();
}
}
I want to create to different table for "Prerequisites" and "Equivalents". How can i configure it?