Entity Framework : How to generate model using Entity Framework Design

This is a step-by-step walkthrough which will generate the Model using Entity Framework Designer and then generate a database schema from the model. The model is stored in a an EDMX file Pre-Requisities We need to have Visual Studio 2013 installed to complete this walkthrough.(You can use older version too like 2010 or 2012 to complete this tutorial.) Apart from that, You will also need to have NuGet installed on your Visual Studio. 1. Create new Application Steps : Create new Application Open Visual Studio, Click File → New → Project Click Console Application under templates → Visual C# → Windows Enter Name as ModelFirstApplication and Select OK 2. Create Model To create model, I will use Entity Framework Designer In Solution Explorer , Right Click on your Project and then Add New Item... Select Data from the left menu and then ADO.NET Entity Data Model Enter Name as Managing Context and click OK Now Se...