Association: CostConstraintScenario_CostScenarioProjects_CostScenarioProject_CostConstraintScenario (ProjectData service)

Office 2013 and later

Last modified: March 09, 2015

In this article
Parent element
Child elements

The CostConstraintScenario_CostScenarioProjects_CostScenarioProject_CostConstraintScenario association relates a cost constraint scenario to cost scenario projects and relates cost scenario projects to a cost constraint scenario.

<Association Name="CostConstraintScenario_CostScenarioProjects_CostScenarioProject_CostConstraintScenario">
  <End Type="ReportingData.CostScenarioProject" Role="CostScenarioProject_CostConstraintScenario" Multiplicity="*" />
  <End Type="ReportingData.CostConstraintScenario" Role="CostConstraintScenario_CostScenarioProjects" Multiplicity="0..1" />






Identifies the entity types and the navigation properties that form the two-way association for cost constrainst scenarios and cost scenario projects.In the first half of the name, CostConstraintScenario is the entity type and CostScenarioProjects is the navigation property. In the second half of the name, CostScenarioProject is the entity type and CostConstraintScenario is the navigation property.



Schema element: ReportingData

The schema for the reporting data in the ProjectData service.

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






EntityType element: CostConstraintScenario


There is one cost constraint scenario that corresponds to a collection of cost scenario projects.


EntityType element: CostScenarioProject


There can be many cost scenario projects that correspond with a cost constraint scenario.

One end of the association is the CostConstraintScenario entity, and the other end is the CostScenarioProject entity. The CostConstraintScenario entity type contains the CostScenarioProjects navigation property, where the FromRole defines CostConstraintScenario_CostScenarioProjects as the start of the association to get the cost scenario projects that are associated with a cost constraint scenario. Similarly, the CostScenarioProject entity type contains the CostConstraintScenario navigation property, where the FromRole defines CostScenarioProject_CostConstraintScenario as the start of the association to get the cost constraint scenario that is associated with a collection of cost scenario projects.