Click here to Skip to main content
15,878,959 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hii to all,
For the past 2weeks i started learning MVC,in this regard i want to perform simple Insert,Update,Delete operations from FrontEnd(i.e using MVC3)to a table present in SqlServer2008,i have searched in google but i didn't find the exact article,i have created a table called employee in a database which has the following columns EmpId,EName,Designation,DeptNo.Using MVC3 how can i perform all Insert,Update,Delete operations on employee table,please provide me with the steps for connecting to the database using EntityFramework and by writing some LINQ for all DML operations,when i was googling about performing this DML operations iam finding the DataContext class,please tell me what is this datacontext class where&how we can add this class.Thanks in advance

Thanks
Ramu
Posted

1 solution

This Video will help you to started with Entityframework in ASP.NET MVC3
http://pluralsight.com/training/Player?author=scott-allen&name=mvc4-building-m4-data-i&mode=live&clip=0&course=mvc4-building[^]

Hope this helps
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900