How do I find a specific table in my EDMX model quickly?

C#vb.netEntity Framework-4EdmxEdmx Designer

C# Problem Overview


I was wondering if anyone knows a quicker way to find a table in the EDMX model than just scrolling through the diagram and looking for the thing. Our database has around 50 tables in it and when I'm looking for a specific one it's just a chore to see where VS put the thing.

I'm using VS 2010 for the purpose of this question.

Thank you in advance.

C# Solutions


Solution 1 - C#

Click in an open area of the designer:

enter image description here

Go to the Properties tab:

enter image description here

In the dropdown box at the top, select your table. You should then see it highlighted in the designer.

enter image description here

Solution 2 - C#

In main menu select View > Other Windows > Entity Data Model Browser (it usually opens in the same panel as Solution explorer).

You can navigate the tree list or type the table in text box.

Entity data model browser

Solution 3 - C#

If you go to the Properties window in Visual Studio 2010, you'll see an alphabetically sorted list of entity types (e.g. your tables) in your EDMX - pick the one you're interested in, and the visual designer should realign itself to actually show that table in view:

enter image description here

Solution 4 - C#

In the "model browser" you can right click the Table and choose "Show in diagram" in the context menu

Solution 5 - C#

  1. Right click on ampty place of Designer view
  2. Select "Model browser" enter image description here

3)Select talbe form menu -> it will be selected in designer:

enter image description here

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionmonkeymindllcView Question on Stackoverflow
Solution 1 - C#Bob HornView Answer on Stackoverflow
Solution 2 - C#peroView Answer on Stackoverflow
Solution 3 - C#marc_sView Answer on Stackoverflow
Solution 4 - C#Thomas KoelleView Answer on Stackoverflow
Solution 5 - C#alexeyView Answer on Stackoverflow