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

 

For the latest documentation on Visual Studio 2017, see Cannot create an association <association name> - property listed twice on docs.microsoft.com. 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.

LINQ to SQL Tools in Visual Studio
How to: Create an association (relationship) between LINQ to SQL classes (O/R Designer)
Walkthrough: Creating LINQ to SQL Classes (O-R Designer)
LINQ to SQL

Show: