ObjectRelationshipInfoProviderGetWhereConditionInternal Method |
Gets the relationship where condition.
Namespace: CMS.RelationshipsAssembly: CMS.Relationships (in CMS.Relationships.dll) Version: 8.2.23
Syntax 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:
StringSee Also