Correct way to edit and update complex viewmodel objects using asp.net-mvc2 and entity framework
- by jslatts
I have a table in my database with a one to many relationship to another table:
ParentObject
ID
Name
Description
ChildObject
ID
Name
Description
ParentObjectID
AnotherObjectID
The objects are mapped into Entity Framework and exposed through a data access class.
It seemed like ViewModels are recommended when the data to be displayed…