FYI
probably what John said you is about the chapter 1 page 38.
The post version of that paragraph is:
http://fabiomaulo.blogspot.com/2010/03/nhibernate-mappings-path.html
As you can see you can give HbmMapping to the Configuration but you can't
get it from Configuration.
The source of an HbmMapping can be:
1. deserialization of an XML
2. NHibernate sexy-mapping
3. ConfORM
4. You own implementation which source can be:
1. yaml
2. custom DSL
3. custom XML schema
4. whatever you can convert to a HbmMapping instance
On Fri, Jul 22, 2011 at 2:43 PM, Matteo Migliore
<[email protected]>wrote:
> Hi Fabio!
>
> I've this code:
> public NhibernateDataHelper(NHibernate.Cfg.Configuration configuration)
> {
> ////here I need to dump the mappings on a file for debug
> }
>
> I would to not pass also the HbmMapping to my class because I need only for
> dumping.
>
> Is more clear?
>
> Thanks!
--
Fabio Maulo