I have 2 tables in my DB, Customers, Contacts. CusID is a Foreign Key in Contacts table. I tried the following
Dim contact as New Contact(Guid.NewGuid())
contact.FirstName = "Mary"
contact.LastName = "Jane"
customer.Contacts.Add(contact)
customer.Save()
Customers and Contacts classes were generated with SubSonic2.2. The contact is not being saved in the DB.