官术网_书友最值得收藏!

Summary

We have learned how to leverage Entity Framework on an existing system that has a live database (for illustrative purposes, we have created SQL scripts to create and simulate an existing database). We have explored NuGet packages that expose the APIs required to reverse engineer the database (including database context and corresponding data models). Finally, we have consumed the existing database in our MVC application using the scaffolding tool (which was installed on the way), and have also seen the changes required to the auto-generated code (which were not covered in Chapter 1Kickstart - Introduction to Entity Framework Core). The database-first approach was just a mechanism used for building existing systems (leveraging EF in the existing system). So far, we have used relationships (new or existing ones), but haven't figured out the relationships supported by Entity Framework. Let's explore them in Chapter 3, Relationships – Terminology and Conventions.

主站蜘蛛池模板: 大洼县| 呼伦贝尔市| 文安县| 阿拉善左旗| 凤山县| 东乡| 河北区| 新闻| 无极县| 公主岭市| 罗田县| 全南县| 韶山市| 濮阳县| 塔河县| 富蕴县| 荆州市| 扬州市| 通渭县| 衢州市| 镇巴县| 南乐县| 巴塘县| 子长县| 海林市| 永仁县| 东乡| 济宁市| 湖南省| 宝山区| 吴堡县| 巴彦县| 安多县| 深泽县| 新河县| 手游| 周宁县| 武城县| 乌审旗| 东安县| 北安市|