Skip to content

Instantly share code, notes, and snippets.

@debugmodedotnet
Created August 28, 2015 07:34
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 debugmodedotnet/53ba0d438e2fc47ef436 to your computer and use it in GitHub Desktop.
Save debugmodedotnet/53ba0d438e2fc47ef436 to your computer and use it in GitHub Desktop.
public class Student
{
public Student()
{
Subjects = new HashSet<Subject>();
}
public int Id { get; set; }
public string Name { get; set; }
public int Age { get; set; }
public ICollection<Subject> Subjects { get; set; }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment