Configuration Of Entity Framework

Here I am using Visual Studio 2012 with .NET Framework 4.5.
 
Create a new project, click ASP.Net MVC 4 application, and select Internet Application.
 
Now you will get your newly created application and let us start with "Entity Framework Configuration".
 
Step 1: Go to TOOLS, then Extensions and Updates.
 
Extension and Updates
 
Step 2: Go to the online gallery and search for "nu-get package manager" and install it.
 
Step 3: After you have installed the Nuget package manager, you have two options for the installation entity framework.
  1. Through the UI (From Solution Explorer)
  2. Package Manager Console.

Installing Entity Framework Through the UI (From Solution Explorer)

  1. Right-click on the project References, then click Manage NuGet Packages,
     
    Manage NuGet Packages
     
  2. This will take you to another window where you can find EntityFramework.
     
    Entity framework
     
  3. Install It.
     
  4. It will ask for License Acceptance,
     
    Acceptance
     
  5. Click on the I Accept button in the License Acceptance window. Now your installation for "Entity Framework" is complete.

Installing Entity Framework through Package Manager Console

  1. For installing through package manager console,
     
    Go to VIEW, then Other Windows, and then Package Manager Console.
     
    Other Window
     
  2. Package Manager Console is open.
     
  3. Write "install - package entityframework" and press enter.
     
    Package manage console
I already installed Entity Framework through Solution Explorer, so now it gave a message 'EntityFramework 6.1.3 already installed'.