The property <property name> cannot be deleted because it is participating in the association <association name>

 

For the latest documentation on Visual Studio 2017, see The property <property name> cannot be deleted because it is participating in the association <association name> on docs.microsoft.com. The selected property is set as the Association Property for the association between the classes indicated in the error message. Properties cannot be deleted if they are participating in an association between data classes.

Set the Association Property to a different property of the data class to enable successful deletion of the desired property.

To correct this error

  1. Select the association line on the O/R Designer that connects the data classes indicated in the error message.

  2. Double-click the line to open the Association Editor dialog box.

  3. Remove the property from the Association Properties.

  4. Try to delete the property again.

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: