Disabling Inheritance

Discussion of open issues, suggestions and bugs regarding Entity Developer - ORM modeling and code generation tool
Post Reply
canuzun
Posts: 2
Joined: Thu 14 Jun 2012 07:36

Disabling Inheritance

Post by canuzun » Thu 14 Jun 2012 21:17

Hi;
We are using Fluent nHibernate, and our approach is DB first. We generate all entities and mapping via Entity Developer.

I am looking for a way to disable any kind of ihteritance. Every table should be mapped as ClassMap, not SubClassMap. The main reason for this is to prevent left joins.

Is there any way accomplish this?

Thanks.

can uzun

canuzun
Posts: 2
Joined: Thu 14 Jun 2012 07:36

Re: Disabling Inheritance

Post by canuzun » Fri 15 Jun 2012 08:01

I have unchecked "Detect Table Per Type inheritances" checkbox in Model Settings. I guess that did the trick.

Don't forget to delete and re-add child objects for the setting to apply.

Post Reply