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: