ComponentOne ADO.NET DataExtender
C1.C1DataExtender.2 Assembly / C1.C1DataExtender Namespace / ViewNode Class / ViewNode Constructor / ViewNode Constructor(String)
Defines a name of DataTable that is represented by this ViewNode.

In This Topic
    ViewNode Constructor(String)
    In This Topic
    Creates a new instance of the ViewNode class that represents a DataTable with a specified name.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal dataTableName As System.String _
    )
    public ViewNode( 
       System.string dataTableName
    )

    Parameters

    dataTableName
    Defines a name of DataTable that is represented by this ViewNode.
    Remarks
    Constructor should be only used to create ViewNode that will be assigned to the C1ViewModel.RootNode property. Any other ViewNode of the C1ViewModel is created as a ChildNode object of ViewJoin automatically when ViewJoin is being created.
    See Also