Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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.

like image 425
monkeymindllc Avatar asked Oct 04 '12 20:10

monkeymindllc


People also ask

How do I manually add a table in EDMX?

Open edmx file, right click anywhere in the modal and select "Update Model from Database" and follow the instructions and choose the desired tables and SPs.

How do I update EDMX to a new table?

Delete existing model and then update: Delete key to delete all models in the designer. IMPORTANT: Do not save the EDMX at this point if you are using TFS for source control!* Now right-click and select "Update Model from Database" to recreate the entire model again. Rebuild project to propagate changes.


1 Answers

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

like image 77
Bob Horn Avatar answered Oct 01 '22 22:10

Bob Horn