Freigeben über


Association: PortfolioAnalysis_CostConstraintScenarios_CostConstraintScenario_Analysis (ProjectData service)

In this article
Definition
Attributes
Parent element
Child elements

The PortfolioAnalysis_CostConstraintScenarios_CostConstraintScenario_Analysis association relates a portfolio analysis to the cost constraint scenarios that it contains and relates a collection of cost constraint scenarios to its portfolio analysis.

Definition

<Association Name="PortfolioAnalysis_CostConstraintScenarios_CostConstraintScenario_Analysis">
  <End Type="ReportingData.CostConstraintScenario" Role="CostConstraintScenario_Analysis" Multiplicity="*" />
  <End Type="ReportingData.PortfolioAnalysis" Role="PortfolioAnalysis_CostConstraintScenarios" Multiplicity="0..1" />
</Association>

Attributes

Attribute

Value

Description

Name

PortfolioAnalysis_CostConstraintScenarios_CostConstraintScenario_Analysis

Identifies the entity types and the navigation properties that form the two-way association for portfolio analyses and cost constraint scenarios. In the first half of the name, PortfolioAnalysis is the entity type and CostConstraintScenarios is the navigation property. In the second half of the name, CostConstraintScenario is the entity type and Analysis is the navigation property.

Parent element

Element

Description

Schema element: ReportingData

The schema for the reporting data in the ProjectData service.

Child elements

The PortfolioAnalysis_CostConstraintScenarios_CostConstraintScenario_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 PortfolioAnalysis_CostConstraintScenarios_CostConstraintScenario_Analysis association

Role

Type

Multiplicity

Description

PortfolioAnalysis_CostConstraintScenarios

EntityType element: PortfolioAnalysis

0..1

There is one portfolio analysis entity that corresponds to a collection of cost constraint scenarios.

CostConstraintScenario_Analysis

EntityType element: CostConstraintScenario

*

There can be many cost constraint scenarios entities in an analysis.

Remarks

One end of the association is the PortfolioAnalysis entity, and the other end is the CostConstraintScenario entity. The PortfolioAnalysis entity type contains the CostConstraintScenarios navigation property, where the FromRole defines PortfolioAnalysis_CostConstraintScenarios as the start of the association to get the collection of cost constraint scenarios that are associated with a portfolio analysis. Similarly, the CostConstraintScenario entity type contains the Analysis navigation property, where the FromRole defines CostConstraintScenario_Analysis as the start of the association to get the portfolio analysis that is associated with a collection of cost constraint scenarios.

See also

Reference

EntityType element: CostConstraintScenario

EntityType element: PortfolioAnalysis