Association: CostScenarioProject_Project (ProjectData service)
In this article
Definition
Attributes
Parent element
Child elements
The CostScenarioProject_Project association relates cost scenario projects to a project.
Definition
<Association Name="CostScenarioProject_Project">
<End Type="ReportingData.Project" Role="Project" Multiplicity="0..1" />
<End Type="ReportingData.CostScenarioProject" Role="CostScenarioProject" Multiplicity="*" />
</Association>
Attributes
Attribute |
Value |
Description |
---|---|---|
Name |
CostScenarioProject_Project |
Identifies the two entity types that form the CostScenarioProject_Project association. |
Parent element
Element |
Description |
---|---|
The schema for the reporting data in the ProjectData service. |
Child elements
The CostScenarioProject_Project 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 CostScenario_Project association
Role |
Type |
Multiplicity |
Description |
---|---|---|---|
CostScenarioProjects |
* |
The collection of cost scenario projects in the reporting tables. |
|
Project |
0..1 |
The project object that is being referenced in the CostScenarioProject_Project association. |
Remarks
The Project navigation property of the CostScenario entity type uses the CostScenario _ Project association to query for projects that are associated with a collection of cost scenario projects.