ObjectRelationshipInfoProviderGetWhereCondition Method |
Gets the relationship where condition.
Namespace: CMS.RelationshipsAssembly: CMS.Relationships (in CMS.Relationships.dll) Version: 9.0.0
Syntaxpublic static string GetWhereCondition(
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