Creating several Entity Diagrams within a single Model in EF 5.0 and Visual Studio 2012

This feature is killer and it’s been waited for long time by any developer or company who use EF visual models with a lot of entities.

Think about a model where you have hundreds of entities.., opening a single diagram with 200 entities doesn’t make sense and it is too slow and kind of unmanageable.

Now, with EF 5.0 and Visual Studio 2012, you can have many diagrams that visually Split the same entity model. This is cool, even more than the coloring feature.

For instance, in the model below, I have selected a group of entities (entities related with ‘Customer’), then you right-click on any of those entities and select the “Mode to new Diagram” option:



So now I can have a simpler entity diagram showing only the entities related to ‘Customer’. In this case, I called ‘CRM’ to this second diagram:


You can also do it in a COPY/PASTE way. so, any entity can be showed in several diagrams, etc.

I want to highlight that both diagrams are like a VIEW of the same MODEL, which has all the entities.

A given MODEL (.edmx) can have now many visual DIAGRAMS. This is really convenient for visually isolating certain areas of high complex and large models.

Comments (3)

  1. Egor says:

    Is It possible to use entities from different projects?

  2. SanSYS says:

    Replace "Mode to new diagram" by "Move to new diagram" 🙂

  3. Pascal says:

    Definitely a good idea to offer this feature.

    We have been advocating for this feature to be baked right into the Visual Studio Visualization & Modeling SDK for quite a while.

    We finally developed, packaged and published our own solution.…/multiply-dsl-points-of-view

    I am eager to look at the implementation choices that have been done.

    Really good news.

Skip to main content