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

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.

主站蜘蛛池模板: 泸州市| 青冈县| 青河县| 穆棱市| 呈贡县| 扎赉特旗| 吐鲁番市| 叙永县| 临夏县| 中西区| 景东| 大丰市| 泽库县| 高平市| 高雄县| 麻江县| 东山县| 石林| 珠海市| 阜阳市| 皋兰县| 西平县| 永德县| 云南省| 仁寿县| 油尖旺区| 潜山县| 民县| 潼关县| 宝坻区| 自治县| 仙居县| 新宁县| 阜新市| 青川县| 嘉荫县| 石门县| 沁源县| 漳州市| 旬阳县| 泽库县|