Delete Instance References
Deletes all references, i.e., all relations to the specified instance will be deleted.
The model that holds the specified instance must be open for write access to enable a successful execution of this command.
The instance to delete all references to can be specified either by its unique instanceID or by a query.
When a query is used the EDMinstanceBrowser is invoked to display the first instance that matches the actual query. The user must activate the Delete instance references button before all relations to the actual instance are deleted.
Arguments:
instanceID or query? |
One of two arguments are accepted: |
InstanceId: |
Specify an unsigned integer value denoting the EDMdatabase unique instanceID of the instance to delete all relations to. This argument is only effective when the <instanceID or query?> argument is set to instanceID. |
Repository: |
Specify the name of the repository holding the actual instance. This argument is only effective when the <instanceID or query?> argument is set to query. Repository names are case sensitive. |
Model: |
Specify the name of the model that holds the actual instance. Model names are case sensitive. This argument is only effective when the argument <instanceID or query?> is set to query. The actual model must be open for write access to enable a successful execution of this command. |
Entity: |
Specify the name of the entity, i.e. the type of the actual instance. Entity names are case insensitive. This argument is only effective when the <instanceID or query?> argument is set to query. |
First instance index to check: |
Specify an integer value denoting the index, i.e., element number in the Entity Extent aggregate that holds all instances of the same type in a model. The value of the <First instance index to check> argument specifies the index of the first instance to query The instance type is specified by the <Entity> argument. The first instance in the entity extent aggregate has index zero. This argument is only effective when the <instanceID or query?> argument is set to query. |
Condition: |
Specify the query to identify the actual instance. An empty query, i.e., a blank in the <Condition> argument will match all queried instances. This argument is only effective when the <instanceID or query?> argument is set to query. |
Options:
accumulating command output: |
A global option that appends the command output to the EDMsupervisor output window. Otherwise the output window is refreshed and only the last command output is displayed. |
match selected input: |
A global option that specifies that only items that partly or exactly matches the string in the related argument input field when activating a Select button, will be in the selection list. An empty (blank) string will match all items. |
update indexes: |
A global option that specifies that the <First instance to check> argument will be updated to the next index after the one currently displayed. |