Click or drag to resize

PFRelation_ItemRelationAdd Method (PFItem, 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(
	PFItem sourceItem,
	PFItem targetItem,
	string relationName,
	Guid modelRelationGuid
)

Parameters

sourceItem
Type: Packflow.CorePFItem
Source item 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