父实体(Parent Entity)与 子实体 ( Child Entity )之间以虚线相连,在虚线连接 子实体 处有一个实心圆点 预设的基数为 1:N (一对多),父实体在 1 的那一端...
基于28个网页-相关网页
您可以像父类的属性一样访问父实体的属性。
You can access parent entity's attributes the same as you would the properties of a parent class.
one-to-many和many-to-one的双向关联也是类似的, 当你从多端(子实体)定位到一端(父实体)。
You can make similar arguments for bidirectional one-to-many and many-to-one when you navigate from the one side (the children entities) to the many side (the parent entity).
惰性的关联可能在最初装载它的父对象之后很长时间才被访问(并获取相关联的实体)。
A lazy association can be traversed (and the associated entity retrieved) long after its parent object was initially loaded.
应用推荐