ActiveDatabaseSoftware.ActiveQueryBuilder Namespace > QueryBuilder Class : InitializeDatabaseSchemaTree Method |
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.