阅读背景:

通过使用2策略通过流畅的nhibernate映射类层次结构

来源:互联网 

I want to combine table-per-class and table-per-hierarchy strategies using fluent nhibernate or nhibernate itself(I mean hbm files), but I don't know how. I prefer fluent over hbm but if it's impossible, then hbm is also fine. I tested this by introducing Entity as ClassMap and all other as SubClassMap in fluent but then in hbm files generated by fluent, Entity was a class and all other were joined-classes which is not what I want. I will describe the problem in more detail below.I want to combine table-per-class and table-per




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: