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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With