Click or drag to resize
ObjectRelationshipInfoProviderGetWhereConditionInternal Method
Gets the relationship where condition.

Namespace: CMS.Relationships
Assembly: CMS.Relationships (in CMS.Relationships.dll) Version: 9.0.0
Syntax
C#
protected virtual string GetWhereConditionInternal(
	int objectId,
	string objectType,
	int relationshipNameId,
	bool left,
	bool right,
	string relatedObjectType = null
)

Parameters

objectId
Type: SystemInt32
Object ID
objectType
Type: SystemString
Object type
relationshipNameId
Type: SystemInt32
Relationship name ID
left
Type: SystemBoolean
Object on the left side of the relationship
right
Type: SystemBoolean
Object on the right side of the relationship
relatedObjectType (Optional)
Type: SystemString
Type of the related object

Return Value

Type: String
See Also