I’m working on an app that uses Linq object generated by SqlMetal. When there is a parent->child relationship in the database, an EntitySet is created to store the child objects. Each child is of the same type.
Can I bind an EntitySet to DataGrid?
Imported from legacy forums. Posted by Brian (had 2377 views)
There should be no problems binding an EntitySet to the DataGridControl.
However, we do not support Hierarchical Master/Detail scenarios at the moment (with detail rows from relations directly in the master grid). So you would need to bind a second DataGridControl to the the EntitySet from the Parent when this parent is “Current” ( DataGridControl.CurrentItem).