Hey velum.
I'm also reasonable new to NetTiers so I was pondering something similar.
For your example, you would set up a foreign key on ContactID obviously.
Then NetTiers would pick up that key and allow you to do the following:
Customers MyCustomer = DataRepository.CustomersProvider.GetByID(1);
//Populate the ContactIDSource
MyCustomer.ContactIDSource = DataRepository.ContactsProvider.GetByID(MyCustomer.ContactID);
//Use the ContactIDSource
MessageBox.Show(MyCustomer.ContactIDSource.ContactName);
//Edit the ContactIDSource
MyCustomer.ContactIDSource.ContactName = "John Doh";
//Save the changes
DataRepository.ContactsProvider.Save(MyCustomer.ContactIDSource);
What I don't know how to do, is to display the Contact Name in a datagrid next to the company name. I tried setting a Bound Column to be "ContactIDSource.ContactName". That didn't work.
Well...
Hope this helps...
and it would be great if someone could tell me how to display the CompanyName 'joined' to the ContactName in a DataGrid.
Thanks
Daryl