PFItemGetRelatedItems Method (String, String, 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 public List<PFItem> GetRelatedItems(
string relationApplicationName,
string relationName,
PFQuery query = null,
PFItemRelationDirection direction = PFItemRelationDirection.Both,
bool maximumOne = false
)
Parameters
- relationApplicationName
- Type: SystemString
Name of the application hosting the relation. - relationName
- Type: SystemString
Name 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:
ListPFItemRelated items (according to parameters).
See Also