Someone help me to understand the method GetParentRows() of the DataRow
object.

The idea of a relational database is that a child row will have only ONE
PARENT; hence the GetParentRow() method of the DataRow object. I cannot
for the life of me come up with a good example of why GetParentRows() is
needed. A One-to-Many relationship will have only one parent. A Many-to-
Many relationship has some intermediate table (i.e. Person-
>PersonAddressRelations->Address) so the relationships amongst all tables
is still a one parent for a given child. To me it really just gives
another way to get at rows based on how you compose the DataRelation
object; which basically boils down to a hacked version of a “true” child
relationship the developer wants to compose.

Can someone help me understand the GetParentRows() method and an example
of why its needed.

TIA,
ERIC FRANZ

You can read messages from the Advanced DOTNET archive, unsubscribe from Advanced 
DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to