Click or drag to resize

PFItemControllerPFItemTypeGetRelation Method

Gets the contextual relation (generally in gridviews).

Throw an exception if the relation does not exist in both models.

Return null if no relation name is found in the form collection.

Namespace:  Packflow.Interface
Assembly:  MicaSystems.Packflow.Interface (in MicaSystems.Packflow.Interface.dll) Version: 1.0.0.0 (2.0.0.223)
Syntax
C#
protected ContentRelation GetRelation(
	PFItemType item,
	PFItem parentItem,
	FormCollection collection
)

Parameters

item
Type: PFItemType
parentItem
Type: Packflow.CorePFItem
collection
Type: FormCollection

Return Value

Type: ContentRelation
See Also