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

Summary

We started our journey with Entity Framework by knowing what difference it made when compared with the legacy approach at a high level. We also looked at building the .NET environment and creating and configuring the .NET Core web application with Entity Framework. We explored NuGet packages and package manager, which will be extensively used in the entire book. We also identified and installed the packages required for the Entity Framework in this chapter. Using the Code-First approach, we built the schema, configured them with EF and created and seeded the database with schema and seed data. Finally, we consumed the built schema in our MVC application using the scaffolding tool (which was installed along the way), and also looked at the usage of the database context in the controllers. The Code-First approach can be used for building new systems, but we need a different approach for existing systems. That's where the Database-First approach comes into the picture. Let's explore this in Chapter 2, The Other Way Around – Database First Approach.

主站蜘蛛池模板: 宁强县| 古丈县| 开阳县| 佛教| 丰都县| 华蓥市| 鹤峰县| 东乡县| 黑龙江省| 雷山县| 泽普县| 札达县| 防城港市| 类乌齐县| 乌兰浩特市| 台南县| 牙克石市| 瓦房店市| 虎林市| 安塞县| 台江县| 镇沅| 任丘市| 公主岭市| 措美县| 上饶市| 碌曲县| 颍上县| 金华市| 长治市| 浙江省| 利辛县| 南阳市| 襄汾县| 行唐县| 建德市| 宣化县| 兴城市| 宣汉县| 九龙县| 麟游县|