In this example, we will use the name C0989623 as the name of the foreign key (Figure 6).
在本例中,我们将使用名称C0989623作为外键的名称(图6)。
The name attribute defines the foreign key on the table to which the Customer class is mapped, and the referenced column defines the primary key to which the table CustomerOrder is mapped.
名称属性在customer类映射到的表上定义外键,参考列定义Table CustomerOrder映射到的主键。
The name attribute defines the foreign key on the table to which the Customer class is mapped, and the referenced column defines the primary key to which the table CustomerOrder is mapped.
名称属性在customer类映射到的表上定义外键,参考列定义Table CustomerOrder映射到的主键。
应用推荐