Ta for this, I did see this but that comment was left in as a remenant of
copying some code somewhere!

Sorry for lack of knowledge.

 

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

Reply via email to