MagicCMS Documentation

MagicPost..::..ConnectTo Method (array<Int32>[]()[][])

Connects a child to many parent MagicPost objects.

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

Syntax


public bool ConnectTo(
	int[] parents
)

Parameters

parents
Type: array<Int32>[]()[][]
The parent posts to connect to.

Return Value

True if successful

Remarks


This will update database relation table between parents and children. Errors are handled by code and stored in MagicLog table.