© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
2 replies
millarrr

ef db scaffold does not scaffold tables with a postgres db using db first approach?

Im trying to use
dotnet ef dbcontext scaffold <ConnectionString>
dotnet ef dbcontext scaffold <ConnectionString>
on a pre existing postgres databse schema - the build 'succeeds', "<DbName>Context.cs" is created but seemingly just contains boilerplate in addition to no entity type classes being created at all. Unsure if it's important but the db is in a docker container. Anyone have any thoughts? Thanks
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

✅ dotnet ef scaffold problem
C#CC# / help
3y ago
❔ Selecting child tables using EF Core
C#CC# / help
3y ago
Not mapping an EF Core DB-First enum property
C#CC# / help
3y ago
❔ Scaffold migrations from existing DB
C#CC# / help
4y ago