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

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.

主站蜘蛛池模板: 华坪县| 鲁甸县| 湘潭市| 隆德县| 固安县| 清涧县| 崇左市| 沅陵县| 铁力市| 东丽区| 花垣县| 青阳县| 楚雄市| 阿城市| 香港 | 玉溪市| 慈利县| 珲春市| 大田县| 墨玉县| 辛集市| 循化| 白水县| 都匀市| 永寿县| 昌江| 平山县| 盐津县| 南雄市| 西华县| 黄陵县| 淮滨县| 揭阳市| 敖汉旗| 天峻县| 沾益县| 马山县| 景谷| 乐业县| 虹口区| 贡觉县|