Page 1 of 1

Disabling Inheritance

Posted: Thu 14 Jun 2012 21:17
by canuzun
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

Re: Disabling Inheritance

Posted: Fri 15 Jun 2012 08:01
by canuzun
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.