Question

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.

Was it helpful?

Solution

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

OTHER TIPS

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

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

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

  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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top