Expand Minimize

Association: PortfolioAnalysis_AnalysisProjects (ProjectData service)

Office 2013

Last modified: May 30, 2012

In this article
Definition
Attributes
Parent element
Child elements

The PortfolioAnalysis_AnalysisProjects_PortfolioAnalysisProject_Analysis association relates a portfolio analysis to the analysis projects that it contains and relates portfolio analysis projects to an analysis.

<Association Name="PortfolioAnalysis_AnalysisProjects_PortfolioAnalysisProject_Analysis">
  <End Type="ReportingData.PortfolioAnalysisProject" Role="PortfolioAnalysisProject_Analysis" Multiplicity="*" />
  <End Type="ReportingData.PortfolioAnalysis" Role="PortfolioAnalysis_AnalysisProjects" Multiplicity="0..1" />
</Association>

Attribute

Value

Description

Name

PortfolioAnalysis_AnalysisProjects_PortfolioAnalysisProject_Analysis

Identifies the entity types and the navigation properties that form the two-way association for portfolio analyses and portfolio analysis projects. In the first half of the name, PortfolioAnalysis is the entity type and AnalysisProjects is the navigation property. In the second half of the name, PortfolioAnalysisProject is the entity type and Analysis is the navigation property.

Element

Description

Schema element: ReportingData

The schema for the reporting data in the ProjectData service.

The PortfolioAnalysis_AnalysisProjects_PortfolioAnalysisProject_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_AnalysisProjects_PortfolioAnalysisProject_Analysis association

Role

Type

Multiplicity

Description

PortfolioAnalysis_AnalysisProjects

EntityType element: PortfolioAnalysis

0..1

There is one portfolio analysis entity that corresponds to a collection of analysis projects.

PortfolioAnalysisProject_Analysis

EntityType element: PortfolioAnalysisProject

*

There can be many portfolio analysis project entities that correspond with an analysis.

One end of the association is the PortfolioAnalysis entity, and the other end is the PortfolioAnalysisProject entity. The PortfolioAnalysis entity type contains the AnalysisProjects navigation property, where the FromRole defines PortfolioAnalysis_AnalysisProjects as the start of the association to get the collection of analysis project that are associated with a portfolio analysis. Similarly, the PortfolioAnalysisProject entity type contains the Analysis navigation property, where the FromRole defines PortfolioAnalysisProject_Analysis as the start of the association to get the analysis that is associated with a collection of portfolio analysis projects.

Show:
© 2014 Microsoft