Click or drag to resize
ObjectRelationshipInfoProviderUpdateRelationships Method
Updates the object relationships.

Namespace: CMS.Relationships
Assembly: CMS.Relationships (in CMS.Relationships.dll) Version: 9.0.0
Syntax
C#
public static void UpdateRelationships(
	int objectId,
	string objectType,
	DataTable relationshipsDT,
	TranslationHelper th,
	bool logSynchronization = true
)

Parameters

objectId
Type: SystemInt32
Object ID
objectType
Type: SystemString
Object type
relationshipsDT
Type: System.DataDataTable
Relationships table
th
Type: CMS.DataEngineTranslationHelper
Translation helper with the object translation data
logSynchronization (Optional)
Type: SystemBoolean
Indicates if staging tasks should be logged
See Also