Hi I'm creating an application with possibility of adding plugins and I'd like to use fluent nhibernate for entity mappings. But I've got a problem with lack of simple way of creating subclasses without modifying a classmap of base class. Let's say I've got some core assembly with mapping of 'SimplePage' entity. This assembly provides a basic functionality for simple cms system. Now I want to add a blog plugin as a second assembly, which contains 'BlogPage' inheriting from SimplePage and third plugin assembly 'Wiki' with 'WikiPage' class also inheriting from SimplePage. Both plugins are optional and I want to be able to add them independently.
- I want also provide unique keys independently of subclass type - Adding/removing plugins shouldn't require any recompilation I've already asked similar question at stackoverflow, the answer was 'can't be done without changing base mapping', but I think there should be some way of making this work by for example using reflection and extending classmap<T>. Have you've got any ideas? What would be the best mapping strategy? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
