ActiveDatabaseSoftware.ActiveQueryBuilder Namespace > QueryBuilder Class : OfflineMode Property |
The Offline mode is intended to suppress background query execution by the component. In normal mode the component retrieves field lists for objects used in the query and the lists of database objects by demand. Working in the Offline mode you have to provide the way to load the necessary information programmatically.
You can use the MetadataContainer.ItemMetadataLoading Event for this purpose. To decrease metadata loading time and to limit the objects visible to the end-user you can define metadata filters to limit the number of objects loaded at a time, or you can save the content of Metadata Container to the XML file and load metadata from the XML file or stream.