[英]can a class be partially mapped by Nhibernate?
I have a class which I want to map to DB using NH. 我有一个类,我想使用NH映射到DB。 However I want two List properties to be ignored in mapping (both ways - from and to DB). 但是我希望在映射中忽略两个List属性(两种方式 - 从DB到DB)。
how can I ignore these two? 我怎么能忽略这两个呢? omitting them from the hbm.xml doesn't help. 从hbm.xml中省略它们没有帮助。
我很确定,在使用xml进行映射时,只需省略属性即可忽略它们。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.