The table is built on a per-class basis, not for each instance of the class.
表是基于类构造,不是基于实例构造。
Table per-class: (Optional) Each concrete subclass is mapped to a table and contains columns for super class attributes.
按类表:(可选)每个具体的子类映射到一个表,并且包含超类属性的列。
The parts of Person that are stored in Employee aren't "sliced off," as can happen in a regular SQL query that fails to join every derived subclass table in a table-per-class model.
存储在Employee中的Person的各部分不会被“切掉”,而当定期SQL查询未能成功地将派生子类表加入到table - per - class模型中时,这种被“切掉”的现象就会发生。
You might add a check in the metaclass code to see if the attributes were already set in a parent class, but this adds plumbing and it does not give real control on a per-class basis.
也许会在元类代码中添加一个检查,以查看是否在父类中设置了这些属性,但是这样会增加负担,并且不会控制所有的类。
We restrict the number of students per class to 10.
我们将每个班的学生人数限定为10人。
The cost of third-class mail has gone up by 50 per cent.
第三类邮件的邮资上涨了50%。
Mixing strategies such as "Table per Subclass" embedded in "Table per class Hierarchy" so that you can take advantages of different strategies.
采用混合策略,例如“每个类层次一张表”中嵌入“每个子类一张表”,这样可以利用不同策略的优势。
The auto mapping feature USES a set of conventions to automatically map all entities, not requesting a mapping class per entity.
自动映射特性使用一套规则来自动映射所有实体,并非每个实体都需要映射类。
Basically, one small helper class is added for each class that's included in any of the bindings, along with a separate class per binding.
基本上会为任何绑定中包含的每个类添加一个小型助手类,并为每个绑定添加一个单独的类。
With this approach you create one table per class, the attributes of which are the OID and the attributes that are specific to that class.
使用这种方法,为每个类创建一张表,它的属性是OID和特定于该类的属性。
For our second strategy (one table per class hierarchy), you'll have to define your integrity using check constraints.
对于第二个策略(每个类层次结构一个表),您必须用检测约束定义您自己的完整性。
Using one data entity per class.
每个类使用一个数据实体。
Using one data entity per concrete class.
每个具体类使用一个数据实体。
Establish one class per analytical model.
每个分析模型建立一个类。
Strategy 3: One table per concrete class (Estates).
策略3:每个具体类一个表(estates)。
For brevity, I provided one method implementation per class.
为了使文章保持简洁,我仅为每一个类提供一个方法的实现。
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没有表。
Table per Concrete Class using Implicit polymorphism.
4使用隐式多态实现每个具体类一张表。
Annotation driven approaches work well if there is a single configuration being used per class which is pretty much what you need 90% + of the time.
如果各个类有一个简单的配置,能够满足超过90%的需要,那么标注驱动的方法是可行的。
Inheritance: Annotations — Single table, joined table, and table per class.
继承:标注——单个表、联合表和按类表。
Each data element name shall contain a sufficient number of modifiers and qualifiers to fully describe it (up to four modifiers per prime word and one modifier plus two qualifiers per class word).
每个数据元素名称应该包含数量足够的修饰词和限定词,以便充分描述它(每个基本单词最多有四个修饰词,每个类单词最多有一个修饰词和两个限定词)。
Measure: Efferent coupling (fan-out per class).
度量:传出耦合(每个类的扇出(fan - out))。
There aren’t any problems with numbers ― if a course is popular then there will be more than one class per week.
那里不存在课容量问题,如果某门课程很受欢迎的话,那么该课程每周的课数将会不止一次。
You will usually find at least one relation per model class, starting from a relation that relates the top-level model classes.
通常你会在每个模型类中找到至少一个关联,从联系顶级模型类的关联开始。
And Princeton formalized the trend in 2009 by funding gap-year adventures for 20 incoming first-years annually. The school's goal is to extend this offer to about 100 students per class.
普林斯顿也顺应潮流,从2009年开始每年为20名新生提供“空档年”资金,普林斯顿的目标将名额增至每班100名。
OSEM allows to specify custom converters, multiple meta-data (maps to Resource property) per class property, analyzers, 'all' field participation, and many more.
OSEM允许制定不同的转换器,一个类属性对应多个元数据(从资源到属性的映射)、分析器和所有参与的字段,等等。
The use of the Participant pattern with one aspect per class considers a class as a subsystem, though any logical division into a subsystem will do just fine.
使用每个类具有一个方面的Participant模式, 将每个类视为一个子系统,而将任何逻辑分为子系统都可以做得很好。
The use of the Participant pattern with one aspect per class considers a class as a subsystem, though any logical division into a subsystem will do just fine.
使用每个类具有一个方面的Participant模式, 将每个类视为一个子系统,而将任何逻辑分为子系统都可以做得很好。
应用推荐