GeekArticles
Microsoft
Microsoft.NET


Create database from model using Entity Framework Core and ASP.NET Core
While working with Entity Framework Core and ASP.NET Core you typically create EF Core model consisting of a custom DbContext and entity classes. If your database already exists, it can be mapped with the EF Core model. However, if the database exist already, you would want it to be created. Of course, you can create the database manually by looking at the EF Core model and creating tables accordingly. it be nice if the database gets created automatically for you based on the EF Core model your created? To that end this article discusses just that.
Sponsored Links
Read Next: How to Code Without Thinking?
Related Topics
Microsoft.NET
- Chapter 2: Protecting Your Database with Startup Options
- { End Bracket }: Hacking the Immune System
- C++ At Work: Copy Constructors, Assignment Operators, and More
- .NET Matters: Stream Decorator, Single-Instance Apps
- Security Briefs: Credentials and Delegation
- Design Patterns: Dependency Injection
- Test Run: Low-Level UI Test Automation
- Advanced Basics: Revisiting Operator Overloading
- Cutting Edge: ASP.NET Forms
- Web Q&A: Smart Navigation, ASP.NET Project Structure, and More