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

The Table Contains No Columns

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 a table in the relational part of the model contains no columns.

Solution

To resolve this error, either delete the table or update your table and run the Update Database from Model Wizard.

To delete the table:

  1. If the table is mapped to a persistent class, then the first step is to delete the corresponding entity in the Visual Designer.
  2. In the Visual Designer, open the Model Schema Explorer.
  3. Expand the Tables node and find the table.
  4. Right-click the table and select Remove Table.

To update your table and run the Update Database from Model Wizard:

  1. In the Visual Designer, open the Model Schema Explorer.
  2. Expand the Tables node and find the table.
  3. Right-click the table and select Edit Table. This will open the Table Editor.
  4. Insert one or more columns.
  5. Click OK to close the editor and save the rlinq file.
  6. The final step is to run the Update Database from Model Wizard and migrate your database.

Further References