Delete Model

Deletes one specified model, or all data models of a specified Express schema in the specified repository. All models must be closed prior to deletion. Only the owner of a model is permitted to delete it. The command will fail when trying to delete dictionary models that have existing data models or is referenced by existing Express-X dictionary models. In a multi-user environment, a model cannot be deleted if it is currently being used by other users.
Exact match is required for all arguments.
Arguments:

Repository:

Specify the name of the repository holding the model(s) to delete. Repository names are case sensitive. This argument is only effective when the [delete all models of schema] is unset.
When activating the Select button, all open repositories will be displayed in the related selection list.

Model:

Specify the name of the model to delete. Model names are case sensitive. This argument is only effective when the option [delete all models of schema] is unset. The specified model must be closed before it can me deleted. This argument is only effective when the option [delete all models of schema] is unset.
The model to be deleted must have a name that exactly matches the <Repository> and <Model>.
When activating the Select button, the name of all models located in the repository(ies) specified by the <Repository> argument will be displayed in the related selection list.

All models of Schema:

Specify the name of an Express schema that is used as the underlying schema of the model(s) to delete. Express schema names are case insensitive.
When this option is set, all models of the schema specified in the <All models of Schema> arguments in the repository specified by the <Repository> argument, will be deleted except models that are currently open by the caller or by another user, and dictionary models that have data models or Express-X dictionary models associated. This argument is only effective when the [delete all models of schema] option is set.
When activating the Select button, the name of all Express schemata that exists as a dictionary model in the EDMdatabase will be displayed in the related selection list.

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.

delete all models of schema:

Specifies that all models located in the specified <Repository> that have the Express schema specified by the <All models of Schema> argument as the underlying schema will be deleted.

close model before deletion:

Close the model (if opened) before deleting it.