Bug on defining association on inherited entities

Discussion of open issues, suggestions and bugs regarding Entity Developer - ORM modeling and code generation tool
Post Reply
s_tristan
Posts: 9
Joined: Wed 06 Apr 2005 15:34

Bug on defining association on inherited entities

Post by s_tristan » Thu 13 Oct 2011 15:03

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"

StanislavK
Devart Team
Posts: 1710
Joined: Thu 03 Dec 2009 10:48

Post by StanislavK » Mon 17 Oct 2011 17:17

Thank you for the report, we have reproduced the issue. We will analyze it and inform you about the results as soon as possible.

StanislavK
Devart Team
Posts: 1710
Joined: Thu 03 Dec 2009 10:48

Post by StanislavK » Thu 17 Nov 2011 08:41

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

Post Reply