Click or drag to resize

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

Parameters

sourceItem
Type: Packflow.CorePFItemReference
Source item's reference of the relation (side 1).
targetItem
Type: Packflow.CorePFItemReference
Target item's reference 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