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 |
---|---|
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 |
---|---|
The set of assignment baseline entities. |
|
The set of assignment baseline timephased data set entities. |
|
The set of assignment entities. |
|
The set of assssignment timephased data set entities. |
|
The set of business driver department entities. |
|
The set of business driver entities. |
|
The set of cost constraint scenario entities. |
|
The set of cost scenario project entities. |
|
The set of deliverable entities. |
|
The set of issue entities. |
|
The set of portfolio analysis entities. |
|
The set of portfolio analysis project entities. |
|
The set of prioritization driver relation entities. |
|
The set of prioritization driver entities. |
|
The set of prioritization entities. |
|
The set of project baseline entities. |
|
The set of project entities. |
|
The set of project workflow stage data set entities. |
|
The set of resource constraint scenario entities. |
|
The set of resource entities. |
|
The set of resource scenario project entities. |
|
The set of resource timephased data set entities. |
|
The set of risk entities. |
|
The set of task baseline entities. |
|
The set of task baseline timephased data set entities. |
|
The set of task entities. |
|
The set of task timephased data set entities. |
|
The set of time set entities. |
|
The set of timesheet class entities. |
|
The set of timesheet line actual data set entities. |
|
The set of timesheet line entities. |
|
The set of timesheet period entities. |
|
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.