Lets consider these two entity classes:
public class Student { public int Id { get; set; } public int? TeacherId { get; set; } public vi