Skip to content

Instantly share code, notes, and snippets.

@gowtham758550
Last active August 9, 2022 04:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gowtham758550/18f3276bbe49df6926774021158ad2ec to your computer and use it in GitHub Desktop.
Save gowtham758550/18f3276bbe49df6926774021158ad2ec to your computer and use it in GitHub Desktop.
public partial class Student
{
public Student()
{
Enrollments = new HashSet<Enrollment>();
}
public int StudentId { get; set; }
public string? LastName { get; set; }
public string? FirstName { get; set; }
public DateTime? EnrollmentDate { get; set; }
public virtual ICollection<Enrollment> Enrollments { get; set; }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment