I'm trying to define a generic class for defining mappings using reflection + a set of conventions + custom attributes: what I'd like to do is a sort of Fluent NHibernate in Automap mode, but without passing through the intermediate XML files.
My starting point is a post by Fabio Maulo (http://nhforge.org/blogs/ nhibernate/archive/2008/11/16/mapping-source-how-map-a-class-without- use-nothing.aspx). I'm trying to figure out from this short example how to use the NHibernate API but it's no easy task! It would be a great help to be able to save one or more mappings in XML format, in order to check that the mappings I'm creating have the intended properties. Does anybody know if it's possible to do that, that is deparsing a mapping into an XML file? Any other help or suggestion with programmatical creation of mappings would be greatly appreciated. Gabriele --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "nhusers" 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/nhusers?hl=en -~----------~----~----~----~------~----~------~--~---
