views:

276

answers:

1

How can I read mapping Xml file generated by Fluent NHibernate API?

+1  A: 

After you configure FluentNhibernate

Configuration config = new Configuration();
config.Configure();
PersistenceModel persistenceModel = new PersistenceModel ();
persistenceModel.Configure (config);

You can use

persistenceModel.WriteMappingsTo (path);
sirrocco

related questions