-
-
Notifications
You must be signed in to change notification settings - Fork 300
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't create Model Diagram #431
Comments
You need to add OnConfiguring with a UseSqlServer with a dummy connection string, as a bare minimum. Or use the Nuget package to create from a DbContext instance |
Erik, firstly I appreciate the quick response and getting your time. Keep up the good work! I've seen the DGML Nuget package before, but I'm not great with exposing it outside of just right clicking in VS. I assumed it would ask me for a connstring on generation of the DGML, but will give the OnConfiguring a go now 👍 |
Awesome that's working now thanks Erik! |
Hi, I'm trying to visualise an existing DbContext and can't seem to get this working at all.
If I right click the project and select to view the Model Diagram, I get an error as below
But my DbContext has what it needs, as below:
VS 2019 Community 16.6.5
2.4.51 of the PT extension
EF Core 3.1.6
Connecting to Azure Cloud SQL
Anything I've missed, just ask, but what's going wrong?
The text was updated successfully, but these errors were encountered: