Click or drag to resize
RelationshipInfoProviderAddRelationship Method

Note: This API is now obsolete.

Creates the relationship for two nodes.

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 13.0.131
Syntax
C#
[ObsoleteAttribute("Use IRelationshipInfoProvider.Add(int, int, int) instead. To get an instance of the interface's implementation, use dependency injection or access the instance directly - RelationshipInfo.Provider.")]
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