次の方法で共有


EntityContainer: ReportingData (ProjectData service)

In this article
Definition
Attributes
Parent element
Child elements

Contains definitions of entity sets and association sets, for internal use in queries of the ProjectData service.

Definition

<Schema Namespace="Microsoft.Office.Project.Server" . . . >
  <EntityContainer Name="ReportingData" m:IsDefaultEntityContainer="true">
    <EntitySet Name="Projects" EntityType="ReportingData.Project" />
    . . .

    <AssociationSet Name="Relation_Projects_Tasks_Tasks_Project_Tasks_Project_Projects_Tasks" 
                    Association="ReportingData.Project_Tasks_Task_Project">
      <End Role="Project_Tasks" EntitySet="Projects" />
      <End Role="Task_Project" EntitySet="Tasks" />
    </AssociationSet>
    . . .
  </EntityContainer>
</Schema>

For example, the Projects entity set is the collection of data that has the ReportingData.Project entity type. A query such as https://ServerName/ProjectServerName/_api/ProjectrData/Projects gets data for all of the projects in the Project Web App instance.

Note

The AssociationSet elements are generated for internal use by Project Server, and are not documented.

Briefly, the AssociationSet that is shown in the Definition section is the collection of project and task associations. That is, the Association element: Project_Tasks_Task_Project relates many tasks to one project and relates the project for each task. The Relation_Projects_Tasks_Tasks_Project_Tasks_Project_Projects_Tasks name of the AssociationSet is internally generated to indicate the collection of all associations of projects to tasks and all associations of tasks to projects. Fortunately, the queries that you create do not directly use association sets.

Attributes

Attribute

Value

Description

Name

ReportingData

The name of the entity container.

IsDefaultEntityContainer

true

Specifies whether ReportingData is the default entity container.

Parent element

Element

Description

Schema element: Microsoft.Office.Project.Server

Specifies the Microsoft.Office.Project.Server namespace for the OData schema that defines entity sets and association sets, which support queries of entities and associations in the Project Server Reporting database.

Child elements

Element

Description

EntitySet element: AssignmentBaselines

The set of assignment baseline entities.

EntitySet element: AssignmentBaselineTimephasedDataSet

The set of assignment baseline timephased data set entities.

EntitySet element: Assignments

The set of assignment entities.

EntitySet element: AssignmentTimephasedDataSet

The set of assssignment timephased data set entities.

EntitySet element: BusinessDriverDepartments

The set of business driver department entities.

EntitySet element: BusinessDrivers

The set of business driver entities.

EntitySet element: CostConstraintScenarios

The set of cost constraint scenario entities.

EntitySet element: CostScenarioProjects

The set of cost scenario project entities.

EntitySet element: Deliverables

The set of deliverable entities.

EntitySet element: Issues

The set of issue entities.

EntitySet element: PortfolioAnalyses

The set of portfolio analysis entities.

EntitySet element: PortfolioAnalysisProjects

The set of portfolio analysis project entities.

EntitySet element: PrioritizationDriverRelations

The set of prioritization driver relation entities.

EntitySet element: PrioritizationDrivers

The set of prioritization driver entities.

EntitySet element: Prioritizations

The set of prioritization entities.

EntitySet element: ProjectBaselines

The set of project baseline entities.

EntitySet element: Projects

The set of project entities.

EntitySet element: ProjectWorkflowStageDataSet

The set of project workflow stage data set entities.

EntitySet element: ResourceConstraintScenarios

The set of resource constraint scenario entities.

EntitySet element: Resources

The set of resource entities.

EntitySet element: ResourceScenarioProjects

The set of resource scenario project entities.

EntitySet element: ResourceTimephasedDataSet

The set of resource timephased data set entities.

EntitySet element: Risks

The set of risk entities.

EntitySet element: TaskBaselines

The set of task baseline entities.

EntitySet element: TaskBaselineTimephasedDataSet

The set of task baseline timephased data set entities.

EntitySet element: Tasks

The set of task entities.

EntitySet element: TaskTimephasedDataSet

The set of task timephased data set entities.

EntitySet element: TimeSet

The set of time set entities.

EntitySet element: TimesheetClasses

The set of timesheet class entities.

EntitySet element: TimesheetLineActualDataSet

The set of timesheet line actual data set entities.

EntitySet element: TimesheetLines

The set of timesheet line entities.

EntitySet element: TimesheetPeriods

The set of timesheet period entities.

EntitySet element: Timesheets

The set of timesheet entities.

Remarks

The EntityContainer element is the only child of the Schema element for the Microsoft.Office.Project.Server namespace. The EntityContainer element is the default container that defines the EntitySet elements and AssociationSet elements in the ReportingData schema. An EntitySet element is a collection of entity types. An AssociationSet element is a collection of associations.

Note

The Child elements table lists only the EntitySet elements. Although the OData schema that you get with the https://ServerName/ProjectServerName/_api/ProjectrData/$metadata query lists many AssociationSet elements, they are used internally and are not documented.

Project Server uses the EntitySet elements and AssociationSet elements to create SQL queries of the Reporting tables and views in the online Project Server database. You cannot directly access the Project Server database for Project Online.

See also

Reference

Schema element: ReportingData