How To Update EF 4 Entity In ASP.NET MVC 3?
- by Jason Evans
Hi there.
I have 2 projects - a class library containing an EDM Entity Framework model and a seperate ASP.NET MVC project.
I'm having problems with how your suppose to edit and save changes to an entity using MVC. In my controller I have:
public class UserController : Controller
{
public ActionResult Edit(int id)
{
…