Share via


Association: ResourceScenarioProject_CostConstraintScenario (ProjectData service)

In this article
Definition
Attributes
Parent element
Child elements

The ResourceScenarioProject_CostConstraintScenario association relates resource scenario projects to a cost constraint scenario.

Definition

<Association Name="ResourceScenarioProject_CostConstraintScenario">
  <End Type="ReportingData.ResourceScenarioProject" Role="ResourceScenarioProject" Multiplicity="*" />
  <End Type="ReportingData.CostConstraintScenario" Role="CostConstraintScenario" Multiplicity="0..1" />
</Association>

Attributes

Attribute

Value

Description

Name

ResourceScenarioProject_CostConstraintScenario

Identifies the two entity types that form the ResourceScenarioProject_CostConstraintScenario association.

Parent element

Element

Description

Schema element: ReportingData

The schema for the reporting data in the ProjectData service.

Child elements

The ResourceScenarioProject_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 ResourceScenarioProject_CostConstraintScenario association

Role

Type

Multplicity

Description

ResourceScenarioProject

EntityType element: ResourceScenarioProject

*

The collection of resource scenario projects in the reporting tables.

CostConstraintScenario

EntityType element: CostConstraintScenario

0..1

The cost constraint scenario object in the ResourceScenarioProject_CostConstraintScenario association.

Remarks

The CostConstraintScenario navigation property in the ResourceScenarioProject entity uses the ResourceScenarioProject_CostConstraintScenario association to query for a cost constraint scenario that is associated with a collection of resource scenario projects.

See also

Reference

EntityType element: CostConstraintScenario

EntityType element: ResourceScenarioProject