Cannot create an association <association name> - property types do not match

Cannot create an association <association name> - property types do not match. Properties do not have matching types: <property names>.

Associations are defined by the selected Association Properties in the Association Editor dialog box. Properties on each side of the association must be of the same data type.

The properties listed in the message do not have the same data types.

To correct this error

  1. Examine the message and note the properties called out in the message.

  2. Click OK to dismiss the dialog box.

  3. Inspect the Association Properties and select properties of the same data type.

  4. 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