Entity framework issue: Unable to create association on tables in TPTmodel

R

rshillington

Is there a known problem with creating associations on tables in a so-
called Table-Per-Type model.

I have two enties called Person and Address with a one-to-many
assocation established between them. That part works. Then I add a
new entity called Contact and change Person to inhert from Contact. I
then remove the key property from Person, since it's now inherited
from Contact and then the association is broken with the error:
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top