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

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.

主站蜘蛛池模板: 磴口县| 贵南县| 余江县| 徐闻县| 芜湖县| 武威市| 鄄城县| 柞水县| 杭锦旗| 平果县| 板桥市| 万全县| 黄浦区| 当涂县| 松滋市| 宜宾县| 天等县| 千阳县| 阿合奇县| 梨树县| 天镇县| 图们市| 盖州市| 象州县| 靖安县| 孙吴县| 长泰县| 营口市| 陇川县| 荣昌县| 利津县| 沧州市| 璧山县| 静乐县| 昂仁县| 龙南县| 黄龙县| 法库县| 讷河市| 惠州市| 新源县|