C#C
C#15mo ago
Arto Kilponen

Code to Diagram (EF Core Power Tools) very beginner question

Hi,

Tldr: How to show .dgml as graphic in Visual Studio 2022?

Answer: Install DGML Editor from Visual Studio Setup.

Would we have someone with EF Core Power Tools experience here?

I'm taking a course of EF Core and there was suggestion to use Power Tools. Seems good. I'm supposed to right-click the project, take EF Core Power Tools and Add DbContextDiagram. This is supposed to create a diagram. Like this.

What I get is (probably the same) as code, like this.

How do I view the code as a graphical diagram?
image.png
image.png
Was this page helpful?