Hi,

I'm automapping most of my model, but have a problem with generics.
I've got ValueContainer<TValue>, and I make it abstract so that it
doesn't throw an exception during automapping. Next, I have to create
classes like StringValueContainer just to make it mapped. Needless to
say, I don't like this approach, since I'm perfectly happy with the
generic classes.

So, the question is, how do I manually map classes like
ValueContainer<string> that inherit from an automapped class? I tried
to fluently configure the subclass via SubclassMap, but that,
predictably, failed.

Please tell me I don't have to return to hbm mappings!

Thanks a lot

ulu

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