Navigation Properties on Join Tables in Entity Framework
问题 So I have a table in my SQL database: CompanyRelationships -------------------- ID CompanyID RelatedCompanyID PermissionGroupID Which defines when a company allows access to it's records to another company. The "CompanyID" is the company that is granting access, the "RelatedCompanyID" is the company that is getting the access. Yes, two records could exist for the same two companies (each granting access to the other) The problem is when I generate the entity model from the db (In Visual