I have a grid bound to a an object which has a sub-object with additional details. I use . (dot) notation to bind columns to the sub-object. The data source is using NeedsDataSource and is coming from an entity framework DBContext.
I handle the UpdateCommand and use UpdateValues to update my primary object.
It displays fine, but when I edit the row, only the primary object properties are updated. Sub object properties are not changed.
If I use OwnerTableView.ExtractValuesFromItem, I can see all the modified values for the subobject, in the property dot notation.
Should this work? Should UpdateValues() properlly handle sub-object properties? Or for each grid do I need to manually assign the values from the ExtractValuesHash to the subobject?