© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•12mo ago•
67 replies
Faker

✅ Why the need to create a database using EF core and not do it manually using SQL

Hello guys, I'm currently learning the EF core so that I can connect with my database using SQL Server. I have a question. I noticed that if we want to create a database using EF core, we need to create a dbContext, a specific instance, like a Student class with its properties etc. My question is, is all that required? Can't we not just use SQL statement to create all that using SQL Server? Isn't it easier? Or there is use cases of when we absolutely need to use C# code?
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
Next page

Similar Threads

Why does Ef Core not save my data in the database?
C#CC# / help
17mo ago
Unable to create new Postgres Database with Ef Core
C#CC# / help
12mo ago
EF-Core unable to create migration
C#CC# / help
2y ago