MagicCMS Documentation

MagicPost..::..ConnectTo Method (Int32)

Connects a child to single parent MagicPost object.

Namespace:  MagicCMS.Core
Assembly:  MagicCMS.4.5 (in MagicCMS.4.5.dll)

Syntax


public bool ConnectTo(
	int parentId
)

Parameters

parentId
Type: Int32
The parent unique identifier Pk.

Return Value

True if successful

Remarks


This will update database relation table between parents and children.