CRUD Operations Using Entity Framework in ASP.NET MVC
In this post we will learn about CRUD Operations Using Entity Framework in ASP.NET MVC. In earlier post we have discussed about How To Create New Asp.Net MVC 5 Site From Empty Template and How to display student information in MVC. CRUD relates to(Select, Insert, Update and Delete) operations using ADO.NET Entity Framework in ASP.NET MVC.
Step 1: Open Visual Studio > New Project > Asp.Net MVC Web Application.
Step 2: Right click project file, select add new item and add ADO.NET entity data model, follow the steps in the wizard as shown below.
Step 3: Now add a controller, by right clicking on the Controller folder.
Step 4: Now run your project and enjoy.