Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Country {
- int id;
- string country_name;
- virtual ICollection<Person> Person1; // Navigation Properties
- virtual ICollection<Person> Person2; // ---------||----------
- }
- [InverseProperty("PrimaryContactFor")]
- public Person PrimaryContact { get; set; }
- [InverseProperty("SecondaryContactFor")]
- public Person SecondaryContact { get; set; }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement