3

Fluent NHibernate APIによって生成されたマッピングXmlファイルを読み取るにはどうすればよいですか?

4

1 に答える 1

2

FluentNhibernate を構成した後

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

使用できます

persistenceModel.WriteMappingsTo (path);
于 2009-01-10T08:32:59.460 に答える