views:

48

answers:

0

Hello

I'm trying to use the new POCO support in EF4.0 but when I start having relationships, problems start to occur. Here is a screenshot of my model, mapping and POCO class. As you can see that relationship is ok in the model, but when you look at the mapping you see that there is something wrong. I think this is causing the InvalidOperationException: Mapping and metadata information could not be found for EntityType 'DataProvider.Objects.Artikel'.

Are those two empty fields in the mapping causing issues? If so how can I remove those?

Here is the screenshot: http://img718.imageshack.us/i/pocorelationships.png/

Thanks in advance!