The Table Of The Persistent Type Must Not Exist In Case Of Horizontal Inheritance Strategy

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 persistent class is a base class in a horizontal inheritance hierarchy and is mapped to a table in the same time. Horizontal inheritance can only be enabled for the topmost class in a hierarchy. Each immediate subclass is stored in its own table with a "copy" of the fields from the superclass.

Solution

To resolve this error, remove the reference to the table for the persistent class:

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

Further References