Expand Minimize

Association: Risk_SubRisks (ProjectData service)

Office 2013

Last modified: May 30, 2012

In this article
Definition
Attributes
Parent element
Child elements

The Risk_SubRisks association relates risks to subrisks.

<Association Name="Risk_SubRisks">
  <End Type="ReportingData.Risk" Role="SubRisks" Multiplicity="*" />
  <End Type="ReportingData.Risk" Role="Risk" Multiplicity="*" />
</Association>

Attribute

Value

Description

Name

Risk_SubRisks

Identifies the two entity types that form the Risk_SubRisks association.

Element

Description

Schema element: ReportingData

The schema for the reporting data in the ProjectData service.

The Risk_SubRisks association element contains two End elements that represent opposite ends of the association. The Role attribute is a lookup key that enables a navigational property to specify the direction in the association. The Multiplicity attribute refers to the entity type. Multiplicity indicates the number of entities that can be related at each end of the association: zero or one (0..1), or many (*). The Microsoft .NET implementation of OData uses 0..1 when the navigational property points to a single entity, rather than to an entity set.

Attributes of the End elements for the Risk_SubRisks association

Role

Type

Multiplicity

Description

Risk

EntityType element: Risk

*

The collection of risks in the reporting tables.

SubRisks

EntityType element: Risk

*

The collection of subrisks in the reporting tables.

The SubRisks navigation property in the Risk entity uses the Risk_SubRisks association to query subrisks that are associated with a collection of risks.

Show:
© 2014 Microsoft