2观察器173 9.2.1命名规则173 9.2.2注册观察器174 9.2.3时机174 9.3单表继承(single-table inheritance,STI)174 9.3.1将继承映射到数据库176 9.3.2STI值得注意的几点177 9.3.3STI和...
基于2个网页-相关网页
以上来源于: WordNet
In single-table inheritance, there is a single database table that contains columns for both base and derived classes.
在单表继承中,一个数据库表同时包含基类和派生类的列。
Inheritance is limited: with ActiveRecord, I'm forced to use a mapping strategy called single table inheritance (see Resources), which is not always optimal.
继承也受到限制:使用ActiveRecord时,我被迫使用单表继承映射策略,而该策略并不总是最佳选择。
Inheritance: Annotations — Single table, joined table, and table per class.
继承:标注——单个表、联合表和按类表。
应用推荐