Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to sort(arrange) tables of entity framework database model in Visual studio?

I want to sort tables of entity framework database model in visual studio 2008. But I can't find how to accomplish that. But it's possible to "arrange tables" in sql server diagrams for making table relationships more clear.

Does visual studio have the functionality(menu or shortcut etc) for that?

Edit:

Finally I've managed to finish this manually. And I've not found answers on the internet for solving it automatically in visual studio.

Tips for relationships between tables: You just put your cursor over the boundary of the link and a table when you want move the "relation" between two tables. You can move the relation as it shows a black diamond icon(not white diamond icon).

like image 594
SUN Jiangong Avatar asked Sep 22 '11 12:09

SUN Jiangong


1 Answers

In Visual Studio 2012 right click on the empty space of your diagram in the designer, select Diagram->Layout Diagram.

like image 124
Stanislav Avatar answered Nov 04 '22 00:11

Stanislav