共用方式為


Association: CostScenarioProject_Analysis (ProjectData service)

In this article
Definition
Attributes
Parent element
Child elements

The CostScenarioProject_Analysis association relates cost scenarios projects to a portfolio analysis.

Definition

<Association Name="CostScenarioProject_Analysis">
  <End Type="ReportingData.PortfolioAnalysis" Role="Analysis" Multiplicity="0..1" />
  <End Type="ReportingData.CostScenarioProject" Role="CostScenarioProject" Multiplicity="*" />
</Association>

Attributes

Attribute

Value

Description

Name

CostScenarioProject_Analysis

Identifies the two entity types that form the CostScenarioProject_Analysis association.

Parent element

Element

Description

Schema element: ReportingData

The schema for the reporting data in the ProjectData service.

Child elements

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

Role

Type

Multiplicity

Description

CostScenarioProject

EntityType element: CostScenarioProject

*

The collection of cost scenario projects in the reporting tables.

Analysis

EntityType element: PortfolioAnalysis

0..1

The analysis object that is being referenced in the CostScenarioProject_Analysis association.

Remarks

The Analysis navigation property of the CostScenarioProject entity type uses the CostScenarioProject_Analysis association to query for an analysis that is associated with a collection of cost scenario projects.

See also

Reference

EntityType element: CostScenarioProject

EntityType element: PortfolioAnalysis