Export (0) Print
Expand All

How to: Delete Objects from the Storage Model

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

This topic describes how to use the ADO.NET Entity Data Model Designer (Entity Designer) to delete EntityType and Function elements from the store schema definition language (SSDL) section of an .edmx file. For more information, see EntityType Element (SSDL), Function Element (SSDL), and .edmx File Overview.

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

Dd456816.note(en-us,VS.110).gifNote:
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

Show:
© 2014 Microsoft