8.8. EDM Designer Changes

VS2010 contains a new Model Browser window that allows you to easily navigate your EDM (Figure 8-10). It is worth noting that previously in EF, if an entity was removed from the model and subsequently brought back by using the wizard's update model functionality, then it would not be recreated. This was because a reference to the original object was still held in the CSDL file, so EF believed it still existed.

In VS2010, the Model Browser window now contains a new facility that allows you to remove the CSDL entries as well. To do this, simply right-click the item you want to remove under the Store node and select Delete. This will then remove the entity from the storage model.

Figure 8.10. New model browser window ...

Get Introducing .NET 4.0: with Visual Studio 2010 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.