Hmm ok, have already tryed it this way before but with no success. I
will try again.

Chris Marisic schrieb:
> I believe what you are looking for is this
> 
> .WithConvention(c=>c.IsBaseType = baseType => baseType == typeof
> (SomeBaseObject))
> 
> Add that to your creation of the AutoPersistenceModel at some point
> after the .MapEntitiesFromAssemblyOf<>() statement.
> 
> On Feb 5, 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