Hi,
I have a scenario were i have two levels of inheritance in
JointSubClass Scenario

Class abstract A
Class abstract B:A
Class C:B

when i am using the AutoMap the class C is been treat as a top level
class and doesnt see the properties of the classes above.

i have debug the source and i think the problem is in mappingTypes
parameter. somehow class B is not presented in this list and this is
the reasone that when the class C is been maped he doent understand
that he is a sub class of A. (he then try to map the properties
again).

any way i continue to debug and found that the class B is skipd here
in the following place CompileMappings:
if (!ShouldMap(type))
                    continue;

this is the line of code:
if (type.IsAbstract && Expressions.AbstractClassIsLayerSupertype
(type))
                return false; // is abstract and a layer supertype

I stop here and let the experts to figur out why is this happening

can you help please?

Noam
--~--~---------~--~----~------------~-------~--~----~
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