---
title: "How to add ADO.NET Entity Data Model in MVC4"  
description: "In this blog I am trying to explain the concept of how can I add a ADO.NET Entity Data Model in MVC4.  Getting start: -1.Create a new blank project in"  
author: "Vijay Shukla"  
published: 2013-09-28  
updated: 2014-09-18  
canonical: https://www.mindstick.com/blog/591/how-to-add-ado-dot-net-entity-data-model-in-mvc4  
category: "asp.net mvc"  
tags: ["asp.net mvc"]  
reading_time: 1 minute  

---

# How to add ADO.NET Entity Data Model in MVC4

In this blog I [am trying](https://answers.mindstick.com/qa/36834/which-two-programming-languages-should-i-master-in-if-i-am-trying-to-get-into-google-or-facebook) to [explain the concept](https://www.mindstick.com/forum/159605/explain-the-concept-of-unique-key-violation-error) of how can I add a ADO.NET [Entity Data Model](https://www.mindstick.com/articles/594/ado-dot-net-entity-data-model-in-wpf) in MVC4.\

Getting start: -

1. Create a new blank [project in Visual](https://www.mindstick.com/forum/537/how-to-add-a-custom-icon-to-setup-project-in-visual-studio-2010) Studio 2012.

2. Then Right Click on Model Folder which is shows under the solution explorer and select the ADO.NET Entity Data Model.![How to add ADO.NET Entity Data Model in MVC4](https://www.mindstick.com/blogs/e791b2e9-6dfd-4a9c-93de-4c3fd48b6a6d/images/bb99041f-ee4a-4eeb-8a8d-f9fc8dc0877b.png)

\

3. After that Give the Appropriate name of Entity Model then Click on OK button.

![How to add ADO.NET Entity Data Model in MVC4](https://www.mindstick.com/blogs/e791b2e9-6dfd-4a9c-93de-4c3fd48b6a6d/images/0734f058-28eb-49ed-b22a-69ff0692f43b.png)\

4. Now you can see a wizard is show in [your screen](https://answers.mindstick.com/qa/103593/how-to-sharing-your-screen-on-skype) Click to Next button for next steps.

5. In next step Click to new [connection](https://www.mindstick.com/articles/13012/what-makes-ethernet-connection-better-than-wifi) then populate a new [dialog box](https://www.mindstick.com/blog/157/dialog-box-in-dot-net) where is give the connection [configuration](https://www.mindstick.com/articles/13112/setting-up-the-perfect-configuration-for-your-work-computer) and after giving connection configuration settings click On OK.

6. Now click on Yes [Radio button](https://www.mindstick.com/articles/12743/radio-button-in-android) and click on Next button.

7. Now you can see your all tables from your selected database.

![How to add ADO.NET Entity Data Model in MVC4](https://www.mindstick.com/blogs/e791b2e9-6dfd-4a9c-93de-4c3fd48b6a6d/images/3b9fb880-04c6-492e-a7c1-4c378096a045.png)

\

8. Click to Finish button and now goto your solution explorer and expand the model folder you can see MyFirstModal.edmx named file is added.

---

Original Source: https://www.mindstick.com/blog/591/how-to-add-ado-dot-net-entity-data-model-in-mvc4

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
