Chapter 6 Managing Objects


Deleting an object and its related objects

When you delete an object you also delete the objects related to this object. For example, when you delete a table in the PDM, you delete its columns, keys, triggers and indexes.

Note   Deleting linking objects
If you want to delete a linking object, for example a relationship or a reference, without deleting the objects to which it is connected, you must specifically select the appropriate relationship or reference in question. Otherwise, you can delete the linking object by deleting the objects it connects.

Domain and data items exception

You can define model options in the CDM and the PDM to allow the reuse of domains and data items.

If domains and data items can be reused When you delete an object with related domains or data items, like an entity attribute in the CDM, the domains and data items remain in the model or package.

If domains and data items cannot be reused When you delete an object with related domains or data items, like an entity attribute in the CDM, the related domains and data items are deleted from the model or package.

For more information about model options, see related sections in the CDM and PDM User's Guides.

Steps To delete an object and its related objects:

  1. Select the Delete tool in the diagram toolbar and click the object symbol.

    or

    Select the object node in the tree view and click the Delete button from the toolbar

    or

    Right-click the node in the tree view and select Delete from the node contextual menu.

    The Confirm Deletion dialog box is displayed.
  2. Select the Delete Objects radio button.
  3. Click OK.

 


Copyright (C) 2005. Sybase Inc. All rights reserved.