For simplicity, let's say I have a CustomerViewModel, and I want to display their basic information (name, email address, phone, etc.), as well as a list of recent orders.
Should I have a collection property, such as Orders of type OrderListViewModel, or use POCO objects returned from the store?
I guess I am really asking if I should have a view model for each object, and then have collections of those that are attached to the "parent" view models?
source
share