Installing Entity Framework

Just as we did in the last chapter, we first need to install Entity Framework into the project, as in this project, we will use LINQ to Entities to connect to the database. Follow these steps to do this:

  1. From the Solution Explorer, right-click on the project item, then select Manage NuGet Packages....
  2. On the Manage NuGet Packages window, select Online | nuget.org | Entity Framework.
  3. Click on the Install button to install Entity Framework in the project.

Get WCF Multi-layer Services Development with Entity Framework Fourth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.