How to: Delete Objects from the Storage Model (Entity Data Model Tools)
This page is specific to:.NET Framework Version:4.0
How to: Delete Objects from the Storage Model (Entity Data Model Tools)
[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 (Entity Framework).

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

NoteNote

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

© 2009 Microsoft Corporation. All rights reserved.   Terms of Use | Trademarks | Privacy Statement
Page view tracker
Rate the Lightweight library
x
Lightweight builds on ScriptFree (loband) by adding features you've requested: a SearchBox and default code language selection.
Do you like the SearchBox?
Do you like the tabbed code blocks?
How useful is this topic?
Tell us more.
Thanks
x
You're helping to improve MSDN Online.
Feedback
Switch View
Classic
Lightweight Beta
ScriptFree
Switch View