ActiveDatabaseSoftware.ActiveQueryBuilder Namespace > MetadataContainer Class : OfflineMode Property |
'Declaration Public Property OfflineMode As System.Boolean
'Usage Dim instance As MetadataContainer Dim value As System.Boolean instance.OfflineMode = value value = instance.OfflineMode
public System.bool OfflineMode {get; set;}
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 may 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.