This might not directly answer your questions, but in .NET 2.0 Typed Dataset automatically create Methods for retrieving child rows by relation - which are displayed in Intellisense of couse:
When creating two Tables, MyMainTable and MyRelatedTable, and bind them together with a Relation, which is called MyMainRelation, your Instance of MyMainTable will display the following Method:
myMainTable1.GetMyRelatedTableRowsByMyMainRelation();
So if you ask because you want to be sure that your Relation exists and you dont want to use the Relation Name String, this might help you...
Regards, Thomas |