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 s
I found this tutorial on the asp.net website to be very helpful: Getting Started with EF using MVC - Updating Related Data
The method to pay attention to is TryUpdateModel which will update the related model in the "standard" manner (setting the entity to a modified state and passing everything in) and then will let you customize how certain properties are updated.
I ran into problems with entity keys and this helped me get past those.