Active Query Builder 2 .NET Edition reference
OfflineMode Property (QueryBuilder)



Allows to switch the component between normal and "Offline" modes.
Syntax
'Declaration
 
Public Property OfflineMode As System.Boolean
'Usage
 
Dim instance As QueryBuilder
Dim value As System.Boolean
 
instance.OfflineMode = value
 
value = instance.OfflineMode
public System.bool OfflineMode {get; set;}
public: __property System.bool get_OfflineMode();
public: __property void set_OfflineMode( 
   System.bool value
);
Remarks

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.

See Also

Reference

QueryBuilder Class
QueryBuilder Members

 

 


© Copyright 2005-2012 ActiveDBSoft. All rights reserved.

Send Feedback