ComponentOne ADO.NET DataExtender
C1.C1DataExtender.2 Assembly / C1.C1DataExtender Namespace / C1ViewRelation Class / C1ViewRelation Constructor / C1ViewRelation Constructor(C1DataView,C1DataView)
The parent C1DataView.
The child C1DataView.

In This Topic
    C1ViewRelation Constructor(C1DataView,C1DataView)
    In This Topic
    Initializes a new instance of the C1ViewRelation.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal parentView As C1DataView, _
       ByVal childView As C1DataView _
    )
    public C1ViewRelation( 
       C1DataView parentView,
       C1DataView childView
    )

    Parameters

    parentView
    The parent C1DataView.
    childView
    The child C1DataView.
    Remarks
    After the C1ViewRelation has been created you should add it to the C1DataViewSet.Relations collection, until that relationship will not be activated.

    See the C1DataView Relations topic for details on the C1ViewRelation definition.

    See Also