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

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.

主站蜘蛛池模板: 睢宁县| 松江区| 镇江市| 汶上县| 含山县| 常熟市| 灵寿县| 阿勒泰市| 美姑县| 江口县| 兰西县| 抚宁县| 米脂县| 德昌县| 凌海市| 临洮县| 祥云县| 平邑县| 敖汉旗| 新建县| 乌苏市| 玛沁县| 穆棱市| 稻城县| 上杭县| 大竹县| 正宁县| 南投市| 扬中市| 平和县| 泸州市| 沧州市| 桦川县| 莲花县| 姚安县| 泸水县| 武威市| 科技| 安吉县| 宿迁市| 乐安县|