public class School { public School() { Students = new List<Student>(); } public Guid Id { get; set; } public string Name { get; set; } public List<Student> Student{ get; set; } } public class Student { public Guid Id { get; set; } public string Firstname { get; set; } public string Lastname { get; set; } public Guid SchoolId{ get; set; } public School School{ get; set; } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)