Include or Exclude Ancestors or Descendants of the Selected Entity, Table, or View in the Subject Area

You can use the Spanning Neighborhood dialog to include or exclude ancestors or descendants of the selected entity, table, or view in the subject area. You can access the Spanning Neighborhood dialog from the Members tab in the Subject Area Editor.

To include or exclude ancestors or descendants of the selected entity, table, or view in the subject area

  1. On the ribbon, click Model > Subject Area Editor.

    The Subject Area Editor opens.

  2. Click the Members tab.

    The Members tab opens.

  3. Select a subject area from the Subject Area list that you want to add members to, and select the object you want to include or exclude.

    Note: Use the toolbar to sort objects or toggle the display of names.

  4. Click Move all objects and neighboring objects to Included Objects in the Subject Area Editor Members Tab to include the object or click Move selected objects and neighboring objects from Included Objects list in the Subject Area Editor Members Tab to exclude the object.

    The Spanning Neighborhood dialog opens.

  5. Make your selections for the following options, then click Add or Remove, depending on whether you are adding or removing objects.
    Ancestors

    Specifies the number of ancestors to include or exclude for the subject area. Ancestors are the parents of an entity. Select one of the following options:

    All

    Includes or excludes all ancestors of the selected entity, table, or view in the subject area.

    Level

    Includes or excludes the level number of ancestors of the selected entity, table, or view that you type in the Level box. For example, if you enter 2, the parent entities (level 1) and the parents of each parent entity (level 2) are included or excluded.

    Descendants

    Specifies the number of descendants to include or exclude for the subject area. Descendants are the children of an entity. Select one of the following options:

    All

    Includes or excludes all descendants of the selected entity, table, or view in the subject area.

    Level

    Includes or excludes the level number of descendants of the selected entity, table, or view that you type in the Level box.

    Note: For an example of working in this dialog, see Ancestor and Descendant Selection in the Spanning Neighborhood Dialog.

    The members of the subject area are defined and the Spanning Neighborhood dialog closes.

  6. Click Close.

    The Subject Area Editor closes.

  7. To display the objects in a diagram, click the Move selected objects to Included Objects or the Move all objects to Included Objects icon in the ER Diagram Editor.