Figure 4. Databind Related DLinq Tables to Create Parent-Child Forms.
Adding a BindingNavigator for the Customers table and BindingSource/DataGridView pairs for the Customers, Orders, and OrderDetails Table objects creates a usable parent-child-grandchild form. It's more practical to add new rows with code than the DataGridView, but the LINQ technical preview enables grid-based updates and cascaded deletions. DLinq tracks changes to Table instances in memory and then updates the database tables when you apply the DataContext.SubmitChanges method.