Skip to content

Instantly share code, notes, and snippets.

@gowtham758550
Last active August 9, 2022 04:11
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/1d210c00ffa6941ced6aad0f934c52d4 to your computer and use it in GitHub Desktop.
Save gowtham758550/1d210c00ffa6941ced6aad0f934c52d4 to your computer and use it in GitHub Desktop.
public partial class Course
{
public Course()
{
Enrollments = new HashSet<Enrollment>();
}
public int CourseId { get; set; }
public string? Title { get; set; }
public int? Credits { 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