I have this conceptual model:
I generate my entities using EF 6.1.3:
How can I modify the relationship of the conceptual model to a correct generation?
Explaining..
Id(Department) -> DeptId(Seller): In Department can't only have a List of Sellers? BossId should represent a instance of Seller, not a List and an instance (as in the diagram). Each seller have only 1 boss.
BossId(Seller) -> Id(Seller): Entity framework creates a list of Departments in Seller.(It doesn't makes any sense)
Id(Product) -> SimilarId(Product) [Auto relationship]: How can I make a relationship of (*..*) [Many-to-Many]? Product(s) can have 0 or * similarProducts, so should represent a List.