One column links to the form (the row in the table) using a foreign key.
一列使用一个外键链接到表单上(表中的一行)。
Listing 5 adds a trail and a location to the database, managed with a foreign key pointing from the location_id column in trails to the id column in locations.
清单5向数据库添加了一条赛道和一个地点,由从trails中的location_id列指向locations中的id列的外键管理。
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 column attribute specifies the column in the mapping table for the owning class that is used as the foreign key to the target class.
colum n属性指定当前类的映射表与目标类用作外键的列。
The column pdb_id is the foreign key that links atom coordinates to the corresponding PDBML document in the PDBXML table.
列pdb_id是一个外键,链接了原子坐标与pdbxml表中对应的PDBML文档。
The <many-to-many> tag's column attribute specifies the foreign key column in the link table that relates the link table to the mapping table for the target class.
<many-to-many>标签中的column属性用来指定连接表与目标类的映射表链接的外键。
In addition to the id primary key, you've declared the customer_id column to be a foreign key referencing the customer table.
除了id主键以外,还声明了customer_id列作为引用客户表的外键。
Remember that when foreign-key-column-on-source is not used, you will need to find the reverse mapping yourself.
请记住,当foreign - key - column - on - source没有使用时,您需要自己寻找逆向映射。
You'd need to create a new table and also add a new column representing the foreign key to each article to point to a blog.
需要创建一个新表,还要添加指向blog的每个文章的外键。
Shows how to perform table-row filtering using Boolean, foreign-key, and enumeration column types.
演示如何使用布尔值、外键和枚举列类型来执行表行筛选。
Shows how to perform table-row filtering using Boolean, foreign-key, and enumeration column types.
演示如何使用布尔值、外键和枚举列类型来执行表行筛选。
应用推荐