Listing 9 shows a simple one-to-many relationship using a Map.
清单9显示了一个使用Map的简单的一对多关系。
The one-to-many relationship exists in the element called details.
一对多关系存在于称为 details的元素中。
It may also aggregate and disaggregate messages in a one-to-many relationship.
它还可以对一对多关系中的消息进行聚合和反聚合。
This can be used to represent a one-to-one or one-to-many relationship between elements.
这可以用于表示元素之间的一对一或一对多关系。
A one-to-many relationship needs to be included between the subscription and subject models.
订阅与主题模型之间需要包括一个一对多关系。
This is called a one-to-many relationship: one airline can have many trips associated with it.
这称为一对多关系:一个航线能够与多个旅行关联。
Each user subscription can include a few preferred subjects (for example, a one-to-many relationship).
每项用户订阅可以包括一些偏好的主题(例如一对多关系)。
Figure 2 shows the one-to-many relationship between ORDER and ORDER_ITEMS tables used for this scenario.
图2显示了这个场景使用的ORDER和order_items表之间的一对多的关系。
For a one-to-many relationship, the foreign-key table is the table near the line's figure-eight symbol.
对于一对多关系,外键表是靠近线的无穷符号的那个表。
You can have a one-to-one relationship between a single unit of your content or a one-to-many relationship.
在每个内容单元中,您可以使用一对一的关系,也可以使用一对多的关系。
I'll start by describing what an object-relational mapper (ORM) is and how to create a one-to-many relationship.
我将首先介绍什么是对象关系映射器(object - relationalmapper,ORM),以及如何创建一对多关系。
A many-to-many relationship can be re-written as two one-to-many relationships with a join table in the middle.
一个多对多的关系可以重新写为二一和一个联接表中多关系。
What are the minimum and maximum number of records that can exist on the many side of a one-to-many relationship?
比如说,在“一对多”关系的多的一端,实体实例最少和最多是多少,有没有限制;
You'll save your data out to a MySQL database, put some data validation in place, and set up a one-to-many relationship.
您将把日期保存到一个MySQL数据库中,进行某些数据验证,并设置一个一对多的关系。
This class is also pretty simple, with the other end of the one-to-many relationship between it and the Advertiser class.
这个类也十分简单,它与advertiser类存在着一对多的关系。
As you can see, the database is quite straightforward: words have a one-to-many relationship with definitions and synonyms.
如您所见,这个数据库非常直观:word与definition和synonym具有一对多的关系。
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.
如果B有一个导航集合属性A(一对多关系)这将增加A这个集合中的连接实体b。
The new algorithm, by way of detecting a one-to-many relationship, allows multi-valued dependencies to be decomposed into relational tables.
这个新算法通过检测一对多关系,允许多值依赖关系被分解成关系表。
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.
例如,考虑用来表示图书馆库存的类Library和类book之间的一对多关系。
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.
例如,如果希望为CD产品获得一个曲目清单,那么从cdproduct表到track表之间会映射一个一对多关系。
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.
元素告诉 Castor:的对象映射含有一个称为 prod_id的SQL列,该列将被用于标识一对多关系。
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.
class标签把ORDER对象映射到ORDERS表,还有许多子标签用于描述其属性、ID订单名称,以及同models . Item的一对多关系。
The relationship between these types of objects is one-to-many, where each policy can have one or more route objects.
这些对象类型之间的关系是“一对多”,即每个策略可以拥有一个或多个路由对象。
One of my friends, Angela, volunteered to to do "q and a" session where I got a chance to ask her some questions regarding "dating and relationship" issues that many people have to deal with.
我的一个朋友名叫安吉拉,她自愿参与我的一个问答节目,所以我有机会问她一些关于“约会和亲密关系”的问题,这些问题是许多人必须面对的。
And of course, I'll be modeling it as a many-to-many relationship because I hope my runners will run more than one race.
当然,我将把它建模为一个“多对多”关系,因为我希望我的参赛者可以参加多项比赛。
Remember that for relationships between tables to work, the primary-key field on the one side of the relationship must match up to the foreign-key field on the many side of the relationship.
切记,对于要工作的表之间的关系而言,关系的一的方面的主键字段一定要与关系的多的方面的外键字段相匹配。
The very fundamentals of a relationship have to change as time passes, and as one ages and matures in many different ways.
感情的根本也会随着时间的改变以及彼此年纪增长和各方面变得成熟而发生变化。
As you can see in Listings 1 and 2, I've logically modeled a many-to-one relationship between runners and a race.
您可以从清单1和2看到,我在选手和比赛之间逻辑上建立了一个多对一的关系。
To override the database interpretation of the relationship of some of your entities to be One-to-One rather than Many-to-One.
为了全面使用数据库,您可以将一些实体的关系理解为一对一而不是多对一。
To override the database interpretation of the relationship of some of your entities to be One-to-One rather than Many-to-One.
为了全面使用数据库,您可以将一些实体的关系理解为一对一而不是多对一。
应用推荐