Create Entity Data Model Inser Update delete code using MVC with Linq to Entity frame work.
Using MVC How We can create Entity framework Data model. 1. Create database and new project in visual studio. 2. In solution explorer select Model and add new Item. 3. Select Ado.Net Entity Data model.press Add. 4. Select generate from database. press next. 5. Select Yes from Drop down and press Next. 6. Select Table you need and press Finish. 7. Model1.edmx created in the model. now we can use this model in View and controller to perform the Insert, Update and Delete operation. Following Model1.edmx save and close it. 8. Now how we can Access this table in Controller and View. You need to write following name space in controller.