Skip to content

Instantly share code, notes, and snippets.

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