Active Query Builder 2 .NET Edition reference
InitializeDatabaseSchemaTree Method



Initializes the database schema tree.
Syntax
'Declaration
 
Public Sub InitializeDatabaseSchemaTree() 
'Usage
 
Dim instance As QueryBuilder
 
instance.InitializeDatabaseSchemaTree()
public void InitializeDatabaseSchemaTree()
public: void InitializeDatabaseSchemaTree(); 
Remarks

This method should be called after the SyntaxProvider and MetadataProvider properties are set to the right instances of appropriate objects.

It initializes the current Metadata Structure, i.e. unbinds it's items if they were bound and binds the root structure node. After that is expands the Database Schema Tree according to the DatabaseSchemaTreeOptions.DefaultExpandLevel property.

To reload metadata and refresh the database schema tree call this method after calling the MetadataContainer.Items.Clear method.

See Also

Reference

QueryBuilder Class
QueryBuilder Members

 

 


© Copyright 2005-2012 ActiveDBSoft. All rights reserved.

Send Feedback