Advertisement
Guest User

Untitled

a guest
Nov 22nd, 2014
166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. class Country {
  2.  
  3. int id;
  4. string country_name;
  5.  
  6. virtual ICollection<Person> Person1; // Navigation Properties
  7. virtual ICollection<Person> Person2; // ---------||----------
  8.  
  9. }
  10.  
  11. [InverseProperty("PrimaryContactFor")]
  12. public Person PrimaryContact { get; set; }
  13.  
  14. [InverseProperty("SecondaryContactFor")]
  15. public Person SecondaryContact { get; set; }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement