I'm looking into replacing Castle ActiveRecord with FNH. I have an application built with modules and each module provide it's configuration for AR so I can get the AR entities. I don't know how to do that in FNH. I have considered these approaches.
1. Let each module provide a MappingConfiguration and then use add them to Fluently.Configure but if I do .Mappings(configOne) .Mappings(configTwo) etc it seems that the mapping is overwritten each time due to a delegate member 2. Add mappings to MappingConfiguration but it has three different properties (Fluent, Auto and Hbm with no relation (common interface)) so I have to know how the module has configured it's mappings. 3. Hmmm.. Now when I have done some thinking (or something..) I shouldn't get anything FNH related but a NH Configuration or NH mappings. It might be hard to merge the configuration from different sources so one option could be to give access to the _real_ configuration to the modules and then let them add their stuff to the configuration. So this post maybe should go into nhusers list instead.. Any ideas? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Fluent NHibernate" group. To post to this group, send email to fluent-nhibernate@googlegroups.com To unsubscribe from this group, send email to fluent-nhibernate+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/fluent-nhibernate?hl=en -~----------~----~----~----~------~----~------~--~---