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.
如何映射一个嵌套了另一个类的类。我正在使用自动映射。它给出异常'NHibernate.MappingException:关联引用未映射的类:class1 + class2'
假设你有
public class baseclass { } public class class1 : baseclass { public class class2 : baseclass { } }
此问题已在 repo 中修复。您可以在流利的支持页面上查看此帖子..
http://support.fluentnhibernate.org/discussions/help/288-map-a-class-that-has-another-class-nested-inside-using-automapping