Implementing the Theme Park Example
There is so much to digest when it comes to Entity Framework Core and all of its features. There are entire books on Entity Framework Core; this chapter will only scratch the surface.
Entity Framework Core Recommendation
For a deeper dive into Entity Framework Core, I would recommend Mastering Entity Framework Core 2.0 at https://www.packtpub.com/product/mastering-entity-framework-core-20/9781788294133.
In this section, we’ll update a small ASP.NET application that uses Entity Framework Core with all of the standards we discussed in the previous section, with a few additional techniques to help understand Entity Framework Core even better.
Overview
In this example, we’ll use our previous DbContext
instance with Attractions
and Locations
tables and create a database with SQL Server.
Running the Web Application
The application used for this section is found on the Packt Publishing GitHub repository under Ch5/EFApplication...