Association element: Timesheet_Periods (ProjectServerData service)
In this article
Definition
Attributes
Parent element
Child elements
The Timesheet_Periods association relates a timesheet period to its timesheet.
Definition
<Association Name="Timesheet_Periods">
<End Type="ReportingData.Timesheet" Role="Timesheet" Multiplicity="*" />
<End Type="ReportingData.TimesheetPeriod" Role="Periods" Multiplicity="0..1" />
</Association>
Attributes
Attribute |
Value |
Description |
---|---|---|
Name |
Timesheet_Periods |
Identifies the two entity types that form the Timesheet_Periods association. |
Parent element
Element |
Description |
---|---|
The schema for the reporting data in the ProjectData service. |
Child elements
The Timesheet_Periods 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 Timesheet_Periods association
Role |
Type |
Multiplicity |
Description |
---|---|---|---|
Timesheet |
* |
The collection of timesheets in the reporting tables. |
|
Periods |
0..1 |
The timesheet period object that is referenced in the Timesheet_Periods association. |
Remarks
The Periods navigation property in the Timesheet entity uses the Timesheet_Periods association to query for a time period that is associated with a collection of timesheets.