Click or drag to resize

PFRelation_ItemRelationAdd Method (PFItemReference, PFItem, String, Guid)

Creates a new item relation instance, not yet persisted.

Namespace:  Packflow.Core
Assembly:  MicaSystems.Packflow.Core (in MicaSystems.Packflow.Core.dll) Version: 1.0.0.0 (3.2.0.306)
Syntax
C#
public PFItemRelation Add(
	PFItemReference sourceItem,
	PFItem targetItem,
	string relationName,
	Guid modelRelationGuid
)

Parameters

sourceItem
Type: Packflow.CorePFItemReference
Source item's reference of the relation (side 1).
targetItem
Type: Packflow.CorePFItem
Target item of the relation (side 2).
relationName
Type: SystemString
Name of the relation.
modelRelationGuid
Type: SystemGuid
The model relation GUID.

Return Value

Type: PFItemRelation
PFItemRelation
See Also