try using a WithConvention expression:

.WithConvention(c => c.IsBaseType = type => type == typeof(MyBaseType))

-steve

//----  90% of being smart is knowing what you're dumb at  ----//
http://stevenharman.net/


On Thu, Feb 5, 2009 at 3:39 PM, Steve Wagner <[email protected]> wrote:

>
> Hi, all my Domain objects have a common generic base class which
> provides equality.
>
> If i use AutoPersistenceModel with them, it adds the base class for each
> object and then it adds the object itself as joined subclass. How can i
> prevent this behavior?
>
> And second, what is the best way to setup an exception? I have on object
> which i have to map with and assigned id generator instead of an guidcomp.
>
> Greets,
> Steve
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to