Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there any way to create diagram for localdb?

I have created a database using Entity Framework code first approach, and now I am trying to verify the relations of data tables but unfortunately after wasting 2 days still unable to get any solution.

like image 970
Muhammad Taha Avatar asked Apr 22 '16 21:04

Muhammad Taha


1 Answers

You might try to use Entity Framework Power Tools that is a Visual Studio add-in that was used to create the data model diagrams shown in these tutorials. The tools can also do other function such as generate entity classes based on the tables in an existing database so that you can use the database with Code First. After you install the tools, some additional options appear in context menus. For example, when you right-click your context class in Solution Explorer, you get an option to generate a diagram. When you're using Code First you can't change the data model in the diagram, but you can move things around to make it easier to understand.

like image 64
Murat Yıldız Avatar answered Sep 20 '22 12:09

Murat Yıldız