Sage Modeling and Simulation Library

ITimePeriod..::..AddRelationship Method

Adds a relationship between this time period and some other time period. Shorthand for actually creating the relationship and its reciprocal, setting each as the other's reciprocal, and adding them to the appropriate milestones.

Namespace:  Highpoint.Sage.Scheduling
Assembly:  Sage4 (in Sage4.dll)

Syntax


void AddRelationship(
	TimePeriod..::..Relationship relationship,
	ITimePeriod otherTimePeriod
)

Parameters

relationship
Type: Highpoint.Sage.Scheduling..::..TimePeriod..::..Relationship
The dependent relationship.
otherTimePeriod
Type: Highpoint.Sage.Scheduling..::..ITimePeriod
Describes the nature of the relationship.