Using MVC2 to update an Entity Framework v4 object with foreign keys fails
- by jbjon
With the following simple relational database structure: An Order has one or more OrderItems, and each OrderItem has one OrderItemStatus.
Entity Framework v4 is used to communicate with the database and entities have been generated from this schema. The Entities connection happens to be called EnumTestEntities in the example.
The trimmed down…