ComponentOne ADO.NET DataExtender
C1.C1DataExtender.2 Assembly / C1.C1DataExtender Namespace / C1ViewRelation Class
Members

In This Topic
    C1ViewRelation Class
    In This Topic
    Represents a master-detail relationship between two C1DataView objects in the C1DataViewSet.
    Object Model
    C1ViewRelation Class
    Syntax
    'Declaration
     
    Public Class C1ViewRelation 
    public class C1ViewRelation 
    Remarks
    To define a relationship between two C1DataView objects of the C1DataViewSet you should create an instance of C1ViewRelation, add it to the C1DataViewSet.Relations collection and specify parent and child (master and detail in other words) C1DataView objects connecting by this C1ViewRelation via the ParentView and ChildView properties.

    In some cases you should additionally define the DataSetRelation (or DataSetRelationName as an alternative), ParentTableAlias and ChildTableAlias properties, see the C1DataView Relations topic for details.

    Inheritance Hierarchy

    System.Object
       C1.C1DataExtender.C1ViewRelation

    See Also