Hi team. I would like to have a code re-view of my last post and a constructive feedback http://fabiomaulo.blogspot.com/2010/01/map-nhibernate-using-your-api.html
<http://fabiomaulo.blogspot.com/2010/01/map-nhibernate-using-your-api.html>The post, and overall the code, is basically an example about how implement a custom API to create mappings by code. That is an invitation to everybody want create his own API and even an invitation for FNH team to use the Hbm* classes instead generate XML. That said, seeing how things are going in each framework, NH needs its own m apping-by-code. Two matters here: 1) API definition 2) usage of Hbm* or directly create metadata (classes of namespace NHibernate.Mapping) What is clear is that our implementation will supports anything supported by XML and, probably, we will improve some of actual "conventions-interceptors" (as, for instance, INamingStrategy & Co. ). -- Fabio Maulo
