Using Vs2005, SQLServer2000, LLBLGenPro, SelfServiceing, TwoClass
I have a 1:n scenario where the collections are AgeGrpSys(1) and AgeGrp (m).
AgeGrpSys has PK AgeGrpSysID. AgeGrp has a composite PK of AgeGrpSysID and AgeGrpCode. These are all Integers. The tables are related on AgeGrpSysID.
I have a form containing a text box for the name of the AgeGrpSys and a DataGrid for AgeGrp.
I have a BindingNavigator to cycle through AgeGrpSys.
I found that to make it possible to add AgeGrp to a new AgeGrpSys I had to change the relationship between the two tables to Update-Cascade in the underlying db, Refresh the Catalog and reGenerate.
Afterwards I could set the Update-Cascade off in the database and the code still worked.
Is there a way to get this to work without setting the Update-Cascade at all?