I want to get the list of data from the database as student each student has list of projects
public class Student { public int StudentId { get; set; } public string StudentName{ get; set; } public List<Project> Projects { get; set;} }
public class Project { public int ProjectId { get; set; } public string ProjectName { get; set; } }