From the course: .NET Essentials: LINQ for Databases
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Examine the Entity Framework sample - .NET Tutorial
From the course: .NET Essentials: LINQ for Databases
Examine the Entity Framework sample
- This course uses Entity Framework for some of the examples. Let's take a few minutes and explore the Entity Framework models and the sample application that contains those models. I'm using Entity Framework 6 for this course. I could have used the newer .NET Core versions as well. While the newer versions have some interesting improvements, the models created for this course wouldn't be noticeably different had I used Entity Framework Core 3. I have put these models in a .NET framework executable. I need an executable or a DLO to contain these, especially when I start working with LINQpad later in the course. In this case, I chose a console application. And within that console application, I have defined two models. One for the Northwind database, this is a sample database that Microsoft created many years ago, and one for another one I use in some of my courses called the Tours database. So there's the Tours…