tryAddDeferred

tryAddDeferred(value: MemberType): Boolean, receiverByReference, updating;

The tryAddDeferred method of the ExtKeyDictionary class attempts to add the value specified by the value parameter to the external key dictionary if it is not already present. For persistent dictionaries, the attempt is queued and executed when the database transaction commits. For transient dictionaries, the attempt is executed immediately.

This method returns true if the dictionary is persistent or the dictionary is transient and the value was added; otherwise it returns false.

2020.0.01 and higher