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: 6.0.0.0 (6.0.6225.27214)
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