Asp.net – Entity Framework related data implementation (virtual and id of other entity)
Suppose I have 2 related entities with a one to many relationship: Company and Job. In the Company Class: public class Company { public int companyId {get; set;} ...other properties public **virtual** ICollection<Job> jobs {get; set;} } In the Job…