Click or drag to resize
TreeProviderGetRelationshipWhereCondition Method
Returns where condition for the given relationship or null if the relationship was not found.

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 8.2.23
Syntax
C#
public static string GetRelationshipWhereCondition(
	int nodeId,
	string name,
	bool documentIsOnLeftSide,
	bool documentIsOnRightSide
)

Parameters

nodeId
Type: SystemInt32
ID of a node in the relationship
name
Type: SystemString
Collection name
documentIsOnLeftSide
Type: SystemBoolean
If true, the document can be on left side of the relationship
documentIsOnRightSide
Type: SystemBoolean
If true, the document can be on left side of the relationship

Return Value

Type: String
See Also