We're glad to announce the new minor version of Active Query Builder. You can download the newest version from the download page.
What's new in the Active Query Builder version 1.6?
Storing and loading metadata information from an XML file makes loading metadata almost instant regardless of the number of objects being loaded. This also reduces the workload of the database server by making it unnecessary to request metadata from the server.
Now Active Query Builder supports working in offline mode, loading metadata information from a previously saved XML file. This is very convenient if the component is used to work with a remote database, for example in the ASP.NET environment. In many cases, direct connection to the database is undesirable or even impossible from the point of view of security or performance. In this case, the most convenient solution would be to work with Active Query Builder in offline mode.
The XML file can be created using one of the following methods:
To load metadata from the XML file, assign the string containing the XML code to the XML property of the MetadataContainer object, or, alternatively, use the LoadFromXMLFile method. If you want to avoid database requests at all, set the OfflineMode to True.
Code example of saving metadata to XML file programmatically:
QueryBuilder.OfflineMode := True; QueryBuilder.MetadataContainer.LoadMetadataByMask('%', '%', 'Northwind'); QueryBuilder.MetadataContainer.LoadMetadataByMask('%', '%', 'Southwind'); QueryBuilder.MetadataContainer.SaveToXMLFile('winds.xml');
Code example of loading Metadata from XML file:
QueryBuilder.OfflineMode := True; QueryBuilder.MetadataContainer.LoadFromXMLFile('winds.xml');
* These features will be available in the Standard Edition of Active Query Builder only.» All Active Query Builder news
Automatic Joins Creation
Active Query Builder automatically determines relationships between tables and creates appropriate joins for them.
Different Join Types
Active Query Builder allows to define different join types and various server-specific query options visually.
Unions and Sub-Queries
Unions, sub queries and derived tables can be accessed and built visually in Active Query Builder as easy as the main query.
Grouping, Sorting and Criteria
Active Query Builder allows to define grouping, sorting, and constructing criteria in a simple and direct way.