次の方法で共有


Association element: Deliverable_ParentProjects (ProjectServerData service)

In this article
Definition
Attributes
Parent element
Child elements

The Deliverable_ParentProjects association relates the deliverable to its parent projects.

Definition

<Association Name="Deliverable_ParentProjects">
  <End Type="ReportingData.Project" Role="ParentProjects" Multiplicity="*" />
  <End Type="ReportingData.Deliverable" Role="Deliverable" Multiplicity="*" />
</Association>

Attributes

Attribute

Value

Description

Name

Deliverable_ParentProjects

Identifies the two entity types that form the Deliverable_ParentProjects association.

Parent element

Element

Description

Schema element: ReportingData

The schema for the reporting data in the ProjectData service.

Child elements

The Deliverable_ParentProjects 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 Deliverable_ParentProjects association

Role

Type

Multiplicity

Description

Deliverable

EntityType element: Deliverable

*

The collection of deliverables in the reporting tables.

ParentProjects

EntityType element: Project

*

The collection of parent projects in the reporting tables.

Remarks

The ParentProjects navigation property in the Deliverable entity uses the Deliverable_ParentProjects association to query parent projects that are associated with a collection of deliverables.

See also

Reference

EntityType element: Deliverable

EntityType element: Project