I've searched stackoverflow for a proper solution on generating a many-to-many relationship, using EF Core, Code first and Fluent API.
A simple scenario would be:
public class Person
{
public Person() {
Clubs = new HashSet();
}
public int PersonId { get; set; }
public virtual ICollection Clubs { get; set; }
}
public class Club
{
public Club() {
Persons = new HashSet();
}
public int ClubId { get; set; }
public virtual ICollection Persons { get; set; }
}
Please correct me if im wrong but I could honestly not find a question that contains an elaborate explanation on how to do this using the described tools. Can anyone explain how this is done?
JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)