To use LINQ to Entities, we need to add a conceptual data model, EDM, to the project. There are two ways to create an EDM: create it from a database or create it manually. Here, we will create the EDM from the
Northwind database. We will add two tables and one view from the
Northwind database into our project, so that later on we can use them to demonstrate LINQ to Entities.
To utilize LINQ to Entities, we first need to install Entity Framework to the project. Follow these steps to do this: