- 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
推薦閱讀
- Dynamics 365 for Finance and Operations Development Cookbook(Fourth Edition)
- JSP網絡編程(學習筆記)
- RabbitMQ Cookbook
- Java:High-Performance Apps with Java 9
- PHP編程基礎與實例教程
- 好好學Java:從零基礎到項目實戰
- Advanced Express Web Application Development
- Python大學實用教程
- Python Interviews
- Django實戰:Python Web典型模塊與項目開發
- HTML5+CSS3+jQuery Mobile APP與移動網站設計從入門到精通
- Penetration Testing with the Bash shell
- 高效使用Greenplum:入門、進階與數據中臺
- Mastering SciPy
- Oracle Database XE 11gR2 Jump Start Guide