Types.Type.references

An enumerable object describing entity references.

Syntax

entity.$type.references

Methods

Method Description
[get](referenceName) Returns a reference by its name.
[add](reference) Adds a new reference to the type.
[update](reference) Updates an existing reference.
[delete](referenceName) Deletes a reference from the type.

Reference Properties

Property Type Description
[name] string Reference property name.
[field] string Item id field name in the entity type.
[type] EntityType Item type.

Examples

Components reference to a Job:

Polymorphic 'owner' reference:

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.