Click or drag to resize

IRelTypeCreateRelationship Method

Creates a new relationship instance by connecting pObjectFrom with pObjectTo.

Namespace:  PDTec.IceNet.Core.Model
Assembly:  PDTec.IceNet.Core (in PDTec.IceNet.Core.dll) Version: 7.2.0.0 (7.2.7583.15464)
Syntax
C#
IRelationship CreateRelationship(
	IObject pObjectFrom,
	IObject pObjectTo,
	string description
)

Parameters

pObjectFrom
Type: PDTec.IceNet.Core.ModelIObject
The object to be connected in From direction
pObjectTo
Type: PDTec.IceNet.Core.ModelIObject
The object to be connected in To direction
description
Type: SystemString
The description of the new relationship

Return Value

Type: IRelationship
The new relationship instance
See Also