Page 1 of 1

Bug on defining association on inherited entities

Posted: Thu 13 Oct 2011 15:03
by s_tristan
There is model:
BaseObject - abstract
-Id: Guid (Entity Key)
NamedObject: BaseObject (TPC) - abstract
-Name: String
Parent: NamedObject (TPC)
Child: NamedObject (TPC)

I trying to add 1:n association between Parent (parent class) and Child (child class) with Delete cascade and Add FK to the child class options and get this error:

"An error occured during creating constraint in storage model. Referential constraint property 'Id' association 'Parent_Child' is not mapped to any column in storage table"

Posted: Mon 17 Oct 2011 17:17
by StanislavK
Thank you for the report, we have reproduced the issue. We will analyze it and inform you about the results as soon as possible.

Posted: Thu 17 Nov 2011 08:41
by StanislavK
We have fixed the issue. The fix is available in the latest 4.1.71 build of Entity Developer. The new build can be downloaded from
http://www.devart.com/entitydeveloper/download.html
(the trial and free versions) or from Registered Users' Area (for users with active subscription only).

For the detailed information about the fixes and improvements available in Entity Developer 4.1.71, please refer to
http://www.devart.com/forums/viewtopic.php?t=22541