ComponentOne DataObjects for .NET
GetParentRow(String) Method

C1.Data.2 Assembly > C1.Data Namespace > C1DataRow Class > GetParentRow Method : GetParentRow(String) Method
The name of the relation to use.
Gets the parent row of this C1DataRow using the specified relation.
Syntax
'Declaration
 
Public Overloads Function GetParentRow( _
   ByVal relationName As System.String _
) As C1DataRow
public C1DataRow GetParentRow( 
   System.string relationName
)

Parameters

relationName
The name of the relation to use.

Return Value

An C1DataRow object (or null).
Remarks
The overload without parameters can be used when the parent and the child are connected with a single relation.
See Also

Reference

C1DataRow Class
C1DataRow Members
Overload List
C1DataRow Class