Thanks for taking the time to do this!

-Steve B. 
-----Original Message-----
From: "Richard Wilde" <[email protected]>
Sender: [email protected]
Date: Tue, 26 Jul 2011 13:43:46 
To: <[email protected]>
Reply-To: [email protected]
Subject: RE: [nhibernate-development] Get HbmMapping from 
NHibernate.Cfg.Configuration

Done as requested
http://nhforge.org/wikis/howtonh/view-the-xml-generated-when-mapping-by-code
.aspx

 

Rippo

 

From: [email protected]
[mailto:[email protected]] On Behalf Of Fabio Maulo
Sent: 26 July 2011 13:04
To: [email protected]
Subject: Re: [nhibernate-development] Get HbmMapping from
NHibernate.Cfg.Configuration

 

Thanks. 

If you want you can add an HowTo wiki in nhforge.org

On Tue, Jul 26, 2011 at 5:35 AM, Richard Wilde <[email protected]>
wrote:

Thanks Fabio, have created a blog regarding this:-

http://puredotnetcoder.blogspot.com/2011/07/view-xml-generated-when-mapping-
by-code.html

 

Rippo

 

From: [email protected]
[mailto:[email protected]] On Behalf Of Fabio Maulo
Sent: 22 July 2011 22:04
To: [email protected]
Subject: Re: [nhibernate-development] Get HbmMapping from
NHibernate.Cfg.Configuration

 

you don't need something to save to file because we gave a cooked extensions
(in the same place where is AsString)

On Fri, Jul 22, 2011 at 5:11 PM, Richard Wilde <[email protected]>
wrote:

Something like

 

var mapping = mapper.CompileMappingForAllExplicitlyAddedEntities();

var mappingXml = mapping.AsString(); //you can now save this to file

 

Rippo




-- 
Fabio Maulo




-- 
Fabio Maulo


Reply via email to