Cannot create an association <association name> - property listed twice

Cannot create an association <association name>. The same property is listed more than once: <property name>.

Associations are defined by the selected Association Properties in the Association Editor dialog box. Properties can be listed only one time for each class in the association.

The property in the message appears more than one time in either the Parent or Child class's Association Properties.

To resolve this condition

  • Examine the message and note the property specified in the message.

  • Click OK to dismiss the message box.

  • Inspect the Association Properties and remove the duplicate entries.

  • Click OK.

See Also

Tasks

How to: Create an Association (Relationship) Between LINQ to SQL Classes (O/R Designer)

Walkthrough: Creating LINQ to SQL Classes (O/R Designer)

Concepts

O/R Designer Overview

Other Resources

LINQ to SQL