TreeProviderGetRelationshipWhereCondition Method |
Returns where condition for the given relationship or null if the relationship was not found.
Namespace: CMS.DocumentEngineAssembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 11.0.0
Syntax 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 right side of the relationship
Return Value
Type:
StringSee Also