EntityChanges Class

Describes a set of elements or models that were modified as part of a transaction in a BriefcaseConnection, serving as the payload for the onElementsChanged and onModelsChanged events. The inserted, deleted, and updated compressed Id sets can be awkward to work with. It can be more convenient to iterate over the individual TxnEntityChanges, especially if you with to filter out some changes.

Implements

Methods

Name Description
constructor(args: NotifyEntitiesChangedArgs): EntityChanges    
[iterator](): Iterator<TxnEntityChange, any, any>    
filter(options: TxnEntityChangesFilterOptions): TxnEntityChangeIterable Obtain an iterator over changes meeting the criteria specified by options.  

Properties

Name Type Description
args Readonly NotifyEntitiesChangedArgs    
deleted Accessor ReadOnly undefined | string The ids of entities that were deleted during the Txn.  
inserted Accessor ReadOnly undefined | string The ids of entities that were inserted during the Txn.  
Metadata[]    
updated Accessor ReadOnly undefined | string The ids of entities that were modified during the Txn, including any Elements for which one of their ElementAspects was changed.  

Defined in

Last Updated: 14 November, 2024