- 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
推薦閱讀
- OpenStack Cloud Computing Cookbook(Third Edition)
- Learn ECMAScript(Second Edition)
- 從零開始:數(shù)字圖像處理的編程基礎(chǔ)與應(yīng)用
- Java異步編程實(shí)戰(zhàn)
- Python數(shù)據(jù)可視化:基于Bokeh的可視化繪圖
- Java EE框架整合開發(fā)入門到實(shí)戰(zhàn):Spring+Spring MVC+MyBatis(微課版)
- Django開發(fā)從入門到實(shí)踐
- Implementing Cisco Networking Solutions
- Learning Selenium Testing Tools(Third Edition)
- Mastering ROS for Robotics Programming
- 新一代SDN:VMware NSX 網(wǎng)絡(luò)原理與實(shí)踐
- HTML+CSS+JavaScript網(wǎng)頁設(shè)計(jì)從入門到精通 (清華社"視頻大講堂"大系·網(wǎng)絡(luò)開發(fā)視頻大講堂)
- 深度學(xué)習(xí)原理與PyTorch實(shí)戰(zhàn)(第2版)
- Visual Basic語言程序設(shè)計(jì)基礎(chǔ)(第3版)
- 視窗軟件設(shè)計(jì)和開發(fā)自動(dòng)化:可視化D++語言