Click or drag to resize

ModelUtilsGetRelationshipsBetweenObjects Method

Gets all relationships of a specific type between two objects.

Namespace:  PDTec.IceNet.Sdk.Utils
Assembly:  PDTec.IceNet.Sdk (in PDTec.IceNet.Sdk.dll) Version: 7.2.0.0 (7.2.7583.15464)
Syntax
C#
public static IRelationship[] GetRelationshipsBetweenObjects(
	IRepository pRepository,
	IObject pObjectFrom,
	IObject pObjectTo,
	IRelType pRelType
)

Parameters

pRepository
Type: PDTec.IceNet.Core.ModelIRepository
The repository.
pObjectFrom
Type: PDTec.IceNet.Core.ModelIObject
The object that is the origin of the relationships.
pObjectTo
Type: PDTec.IceNet.Core.ModelIObject
The object that is the target of the relationships.
pRelType
Type: PDTec.IceNet.Core.ModelIRelType
The relationship type.

Return Value

Type: IRelationship
An array of relationships between the two objects.
See Also