Share via


How to: Delete Objects from the Storage Model

[This page is specific to the latest version of the Entity Framework. The latest version is available as the 'Entity Framework' NuGet package. For more information, see Entity Framework Releases and Versioning.]

This topic describes how to use the Entity Designer to delete EntityType and Function elements from the conceptual model.

The following procedure assumes that you have an .edmx file open in the Entity Designer.

Note

In addition to deleting elements from the SSDL section of the .edmx file, the procedures below also delete any mappings to the targeted entity type or function.

To delete an EntityType or Function element from the SSDL

  1. Right-click an empty area of the Entity Designer and select Model Browser .

    The Model Browser window appears.

  2. Expand the tree view of the .edmx file.

  3. Expand the Model.Store node.

  4. Expand the Tables/Views node or the Stored Procedures node.

  5. Right-click the table/view or stored procedure that corresponds to the EntityType or Function element you want to delete.

  6. Select Delete .

See Also

Tasks

How to: Create and Modify Entity Types

Other Resources

ADO.NET Entity Data Model Designer

Build Date:

2013-06-19