0 votes

Hi.
I have got two entities. Person and Employee.
Employee is derived from Person but contains its own primary key.
If I export all entities the primary key in Employee is not exported.

In all derived entities are the primary keys missing...
Is this a bug or an error on my part?

I am using version: 2.2.5.754

(Sorry for my bad English)

in General Questions by (150 points)
edited by

1 Answer

0 votes
Best answer

Hi, it's not a bug but feature.
Because derived entity derives all fields from base, derived entity also has a primary key from it's parent. Because of this ORM Desigener doesn't export primary keys again.

Is there any real-case scenario why do you need that?

by Skipper developer (141k points)
selected by