hi, i'm using ConventionModelMapper for mapping, in my IsRootEntity implementation i check if the type inherits directly from my entity base type. my problem is that i have same entities mapped with table per hierarchy (so i explicit add a SubclassMapping for every subclass) where the root type of the hierarchy is an interface (explicitly mapped with a ClassMapping implementation).
for my IsRootEntity implementations the subtypes of the hierarchy are roots entities so i get an exception about the ambiguous mapping becouse that subtypes are explicit mapped as subclasses and implicitly as root. if i can i don't want to do the check on every explicit subclass types in the IsRootEntity method so i want know if exists same other way to unregister the subclass types as root entities. note:i cannot change the code to use a class and not an interface as root type of the hierarchy thanks -- You received this message because you are subscribed to the Google Groups "nhusers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/nhusers. For more options, visit https://groups.google.com/groups/opt_out.
