- Mastering Entity Framework Core 2.0
- Prabhakaran Anbazhagan
- 153字
- 2021-07-02 21:16:38
The Other Way Around – Database First Approach
In Chapter 1, Kickstart - Introduction to Entity Framework Core, we were exposed to the Entity Framework (EF) Code-First approach, which might not be useful in all scenarios. We need a provision to reverse engineer existing databases using EF Core, which guides us in performing migrations and helps us in retaining model changes that won't be lost during migrations.
When EF was first released, it supported only the database-first approach, which means we could use the framework only on the existing database. As opposed to the Code-First approach discussed in the previous chapter, the database-first approach will be widely used while we decide to use EF in the existing system.
The topics we will cover here are:
- Preparing the database
- Creating a new project
- Installing Entity Framework
- Reverse engineering the database
- Registering context in services (.Net Core DI)
- Performing CRUD operations
推薦閱讀
- Cocos2d Cross-Platform Game Development Cookbook(Second Edition)
- Mastering Ext JS(Second Edition)
- Visual FoxPro程序設計教程
- C語言程序設計
- Getting Started with Laravel 4
- AutoCAD 2009實訓指導
- 零基礎學C語言(升級版)
- Android Studio Cookbook
- JavaScript從入門到精通(視頻實戰版)
- Swift從入門到精通 (移動開發叢書)
- Scratch超人漫游記:創意程序設計:STEAM創新教育指南
- Python GUI設計:tkinter菜鳥編程
- Java并發編程深度解析與實戰
- IPython Notebook Essentials
- jQuery Mobile從入門到精通