Entity Framework database mapping relationships (Duplicate creation using Seed() method)
问题 I created a post with an issue and another issue. These can be looked at for references but i consider them as handled. My question arising from these issues and the action i (need or not need) to apply bothers me because i don't quite understand EF its behavior and expectations. I have a Product, PurchasePrice and SalesPrice entity where my initial thought was that 1 Product can have multiple PurchasePrices but that 1 PurchasePrice only can exist in 1 Product (same for SalesPrice). Therefore