Data Access has been discontinued. Please refer to this page for more information.

The Constraint Has No Foreign Key Columns Specified

This article is relevant to entity models that utilize the deprecated Visual Studio integration of Telerik Data Access. The current documentation of the Data Access framework is available here.

This error occurs when the domain model contains a constraints with no foreign key columns specified.

Solution

To resolve this error, either select a foreign key column or delete the constraint.

To select a foreign key column:

  1. Double-click the error to open the Validation Dialog.
  2. Specify a foreign key column for the constraint.

To delete the constraint:

  1. Double-click the error to open the Validation Dialog.
  2. Apply the automatic fix for removing the constraint.

Further References