Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何读取 Fluent NHibernate API 生成的映射 XML 文件?
配置 FluentNhibernate 后
Configuration config = new Configuration(); config.Configure(); PersistenceModel persistenceModel = new PersistenceModel (); persistenceModel.Configure (config);
您可以使用
persistenceModel.WriteMappingsTo (path);