I was just reading Asp.net MVC3 tutorials (Models (Data))
On this page tutorial 4 of 10 on the ASP.NET website, it is shown that an entity diagram is created from code first classes. How to generate them?
Select [Convert to Class Diagram] from ER Diagram's pop-up menu in the structure tree. The diagram and all the model elements inside will be converted to a Class diagram and appears in the tree view.
How do I create an ER diagram from scratch? You can create an ERD from scratch using the entity relationship shape library in the shape manager. Drag and drop shapes onto your canvas and manually label entities, attributes, and keys, and determine all appropriate relationships and cardinalities.
This can be done very easily by using the Class Diagram. Add New Item > Class Diagram. Then drag and drop your code first classes into the diagram from the solution explorer.
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