Yet another mapping strategy

Is it possible to map classes being in inheritance relationship by placing columns for base class attributes in tables of subclasses?
It is quite common technique, but I couldn’t find a way to do It in VP.

Like on the images below

Hi Jacenty,

Please try:

  1. Right-click on the Person class and select Open Specification from the popup menu
  2. Open the ORM Class Detail tab
  3. Click on the Subclasses… button
  4. Apply ‘Table per Subclass’ as the strategy for both the subclasses. (see the attached image)
  5. Sync. to ERD

Best regards,
Jick

The resulting ERD was different:

Hi Jacenty,

Thank you for your suggestion. I have discussed with our developers. We think that we can support it. But it may take some time. I will inform you once this is available.

Best regards,
Jick

Thank you. Probably associations with base class will be difficult to map, since it has no table. But there are some solutions to it.

hi,

hope support it early. interested too.

Thanks.