So.
I’m having trouble fixing this little problem.
I have several classes, and it’s all nice and good. Right up until now. I have now added another class (MatchResult), and it works.

But when I try to make the correct association:

It fails with a runtime exception.
Error:
Schema specified is not valid. Errors:
The relationship ‘DbModel.FK_ProductPrice’ was not loaded
because the type ‘DbModel.Product’ is not available.The following information may be useful in resolving the previous
error:The required property ‘MatchResults’ does not exist on the type
‘PriceMonitor.Model.Product’.The relationship ‘DbModel.FK_WebshopProduct’ was not loaded
because the type ‘DbModel.Product’ is not available.The following information may be useful in resolving the previous
error:The required property ‘MatchResults’ does not exist on the type
‘PriceMonitor.Model.Product’.
It seems – for some reason – that EF does not create the MatchResults property on the Product class.
This approach has worked on every single class I’ve ever made using EF. Up until now.
I found the answer. Apparently, it is a confirmed bug in the Entity Framework. (WHAT?!)
It seems, if you place the .emdx file in a subfolder, automatic code generation does not work.
See this question.