3.6.1 每个类映射为一张表(One Class per Table)59-61 3.6.2 整个类层次结构映射为一张表(Table per class hierarchy)61-63
基于12个网页-相关网页
For our second strategy (one table per class hierarchy), you'll have to define your integrity using check constraints.
对于第二个策略(每个类层次结构一个表),您必须用检测约束定义您自己的完整性。
Strategy 3: One table per concrete class (Estates).
策略3:每个具体类一个表(estates)。
Our third and last strategy is probably the most imaginative of all: having one table per concrete class and none for the Estate abstract superclass.
我们的第三个,也是最后一个策略可能是三个策略当中最有想象力的:每个具体类一个表,抽象超类estate没有表。
应用推荐