如何创建一对多关系的许多实体?
订阅与主题模型之间需要包括一个一对多关系。
A one-to-many relationship needs to be included between the subscription and subject models.
它还可以对一对多关系中的消息进行聚合和反聚合。
It may also aggregate and disaggregate messages in a one-to-many relationship.
这称为一对多关系:一个航线能够与多个旅行关联。
This is called a one-to-many relationship: one airline can have many trips associated with it.
清单9显示了一个使用Map的简单的一对多关系。
Listing 9 shows a simple one-to-many relationship using a Map.
一对多关系存在于称为details的元素中。
The one-to-many relationship exists in the element called details.
一对一关系和一对多关系使用一个外键来实现。
One-to-one relationships and one-to-many relationships are implemented using a foreign key.
这可以用于表示元素之间的一对一或一对多关系。
This can be used to represent a one-to-one or one-to-many relationship between elements.
每项用户订阅可以包括一些偏好的主题(例如一对多关系)。
Each user subscription can include a few preferred subjects (for example, a one-to-many relationship).
在比较高级语言和机器语言时,一对多关系是什么意思?
What is meant by a one-to-many relationship when comparing a high-level language to machine language?
对于一对多关系,外键表是靠近线的无穷符号的那个表。
For a one-to-many relationship, the foreign-key table is the table near the line's figure-eight symbol.
在一对多关系中,一个语句会展开为多条汇编或机器指令。
In a one-to-many relationship, a single statement expands into multiple assembly language or machine instructions.
可能你注意到,在图5.4中,我没有显示反向的一对多关系。
You'll note that I don't show the reverse multiplicities in Figure 5.4.
这个新算法通过检测一对多关系,允许多值依赖关系被分解成关系表。
The new algorithm, by way of detecting a one-to-many relationship, allows multi-valued dependencies to be decomposed into relational tables.
依赖链接基于依赖关系拓扑,支持一对多关系,并且禁止循环定义。
Dependent links are based on a dependency topology, support one-to-many relationships, and prohibit circular definitions.
这样,我在account与它们的各种location之间设置了一对多关系。
In this way, I set up a one-to-many relationship between accounts and their various locations.
如果一个出版商可以通过这种方式“持有”多本书籍,就称之为一对多关系。
If one publisher can "have" multiple books in this way, it's called a one-to-many relation.
例如,考虑用来表示图书馆库存的类Library和类book之间的一对多关系。
For example, consider a one-to-many relationship between the class library and the class Book used to represent the inventory held by a library.
如果B有一个导航集合属性A(一对多关系)这将增加A这个集合中的连接实体b。
If B has a navigation collection property to a (one-to-many relationship) it will add a to this collection in the attached entity B.
例如,如果希望为CD产品获得一个曲目清单,那么从cdproduct表到track表之间会映射一个一对多关系。
For example, if you wish to capture a listing of the tracks on CD products, then it would force a one-to-many relationship from a CDPRODUCT table to a track table.
元素告诉 Castor:的对象映射含有一个称为 prod_id的SQL列,该列将被用于标识一对多关系。
The element tells Castor that the 's object mapping contains an SQL column called prod_id and that this column should be used to identify the one-to-many relationship.
“精通grails:GORM -有趣的名称,严肃的技术”向您介绍了GORM的基础知识,包括简单的一对多关系。
In "GORM: Funny name, serious technology," you were introduced to the basics of GORM, including simple one-to-many relationships.
我将首先介绍什么是对象关系映射器(object - relationalmapper,ORM),以及如何创建一对多关系。
I'll start by describing what an object-relational mapper (ORM) is and how to create a one-to-many relationship.
class标签把ORDER对象映射到ORDERS表,还有许多子标签用于描述其属性、ID订单名称,以及同models . Item的一对多关系。
The class tag maps the order object to the ORDERS table and has a number of sub tags that describe its properties, the ID and the order name, and a one-to-many relationship to models.Item.
您可以对将一个值映射到多个其他值的查询关系使用一对多或多对多关系。
You can use one-to-many or many-to-many relationships for lookup relationships that map one value to multiple other values.
在Grails的联机文档中,可以找到一对一和多对多关系的示例,请参阅参考资料。
You can find examples of one-to-one and many-to-many relationships in the online Grails documentation; see Resources.
JPA支持一对一、一对多、多对一和多对多关系。
JPA supports one-to-one, one-to-many, many-to-one, and many-to-many relationships.
找一对和你年龄差不多关系有很好的夫妇,和他们共度一个周末。
Find some friends with a great relationship who are around your age and hang out with them.
找一对和你年龄差不多关系有很好的夫妇,和他们共度一个周末。
Find some friends with a great relationship who are around your age and hang out with them.
应用推荐