addChange Method

Adds the provided ChangeInstance to the appropriate set of changes by class type (codeSpec, model, element, aspect, or relationship) maintained by this instance of ChangedInstanceIds. If the same ECInstanceId is seen multiple times, the changedInstanceIds will be modified accordingly, i.e. if an id 'x' was updated but now we see 'x' was deleted, we will remove 'x' from the set of updatedIds and add it to the set of deletedIds for the appropriate class type.

addChange(change: ChangeInstance): Promise<void>

Parameter Type Description
change ChangeInstance Changed EC instance with the ID, operation, and EC class ID of the changed entity.

Returns - Promise

Defined in

Last Updated: 27 July, 2026