Here is an example of mapping a super class and a sub class using the single table strategy.
下面是一个使用单表策略映射超类和子类的示例。
Table per-class: (Optional) Each concrete subclass is mapped to a table and contains columns for super class attributes.
按类表:(可选)每个具体的子类映射到一个表,并且包含超类属性的列。
With this class as a super class, there are only three methods that should be overridden.
因为该类是一个超类,所以只有三个应该被忽略的方法。
应用推荐