Click or drag to resize

PFItemGetRelatedItems Method (Guid, PFQuery, PFItemRelationDirection, Boolean)

Gets items linked inside a relation.

Namespace:  Packflow.Core
Assembly:  MicaSystems.Packflow.Core (in MicaSystems.Packflow.Core.dll) Version: 1.0.0.0 (3.2.0.306)
Syntax
C#
public List<PFItem> GetRelatedItems(
	Guid modelRelationGuid,
	PFQuery query = null,
	PFItemRelationDirection direction = PFItemRelationDirection.Both,
	bool maximumOne = false
)

Parameters

modelRelationGuid
Type: SystemGuid
Guid of the relation in the model.
query (Optional)
Type: Packflow.CorePFQuery
Query to filter, order or select columns of the results.
direction (Optional)
Type: Packflow.CorePFItemRelationDirection
Get items linked from this item, to this item, or both.
maximumOne (Optional)
Type: SystemBoolean
Return only first result.

Return Value

Type: ListPFItem
Related items (according to parameters).
See Also