Error creating an association
Posted: Thu 08 Apr 2010 15:54
Hi
I'm trying to create a one-to-many association between two tables, Parent and Child.
The Parent's key consists of 2 integer fields.
When manualy creating the association, i get an error saying:
Properties referred by the Dependent Role Children must be a subset of the key of the EntityType TestModel.Child referred to by the Dependent Role in the referential constraint for Relationship TestModel.Assoc1
Can anyone explain this error?
Thanks,
Ofer
I'm trying to create a one-to-many association between two tables, Parent and Child.
The Parent's key consists of 2 integer fields.
When manualy creating the association, i get an error saying:
Properties referred by the Dependent Role Children must be a subset of the key of the EntityType TestModel.Child referred to by the Dependent Role in the referential constraint for Relationship TestModel.Assoc1
Can anyone explain this error?
Thanks,
Ofer