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

In This Topic
    ViewNode Constructor(String,String)
    In This Topic
    Creates a new instance of the ViewNode class that represents a DataTable with a specified name and alias used to reference this node in the owner C1ViewModel..
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal dataTableName As System.String, _
       ByVal tableAlias As System.String _
    )
    public ViewNode( 
       System.string dataTableName,
       System.string tableAlias
    )

    Parameters

    dataTableName
    Defines a name of DataTable that is represented by this ViewNode.
    tableAlias
    Defines an alias that is used to reference 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