Click or drag to resize
RelationshipInfoProviderAddRelationship Method
Creates the relationship for two nodes.

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 9.0.0
Syntax
C#
public static void AddRelationship(
	int leftNodeId,
	int rightNodeId,
	int relationshipNameId
)

Parameters

leftNodeId
Type: SystemInt32
ID of left node
rightNodeId
Type: SystemInt32
ID of right node
relationshipNameId
Type: SystemInt32
ID of relationship name
See Also