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.
You need to be a premium member to use this feature. To access it, you'll have to upgrade your membership.
Become a sharper developer and jumpstart your career.
$0
$
. 00
monthly
For Basic members:
$20
For Premium members:
$45
For Elite members: