Active Query Builder 2 .NET Edition reference
QueryTransformer Class Members
Properties  Methods  Events

The following tables list the members exposed by QueryTransformer.

Public Properties
 NameDescription
Public PropertyAggregationsGets the list of aggregation columns.  
Public PropertyColumnsReturns the list of output columns of initial query.  
Public PropertyFiltersGets the list of filtration conditions.  
Public PropertyIsResultQueryWrappedIndicates if the query will be wrapped in a sub-query after transformation.  
Public PropertyIsSupportLimitCountIndicates if it's possible to limit the number of records by means of the current database server SQL syntax.  
Public PropertyIsSupportLimitOffsetIndicates if it's possible to skip first records by means of the current database server SQL syntax.  
Public PropertyIsUpdatingIndicates that the component is in update mode now.  
Public PropertyQueryBuilderGets or sets the reference to the QueryBuilder component that contains the initial query.  
Public PropertyResultCountGets or sets the number of records to return.  
Public PropertyResultOffsetGets or sets the number of first records to be skipped.  
Public PropertySelectModeGets or sets the selection mode of result SQL query (DISTINCT, ALL or default).  
Public PropertySortingsGets the list of sortings.  
Public PropertySqlGets the modidied SQL query text.  
Public PropertySqlBuilderGets or sets the reference to the SQLBuilder component that is used to generate the modified query.  
Public PropertyXMLGets or sets the content of Query Transformer as string in a form of XML document.  
Top
Public Methods
 NameDescription
Public MethodBeginUpdatePrevents the component from SQL generation until the EndUpdate method is called.  
Public MethodEndUpdateResumes SQL generation after it was suspended by the BeginUpdate method.  
Public MethodExportToXMLOverloaded. Saves the content of Query Transformer to XML file.  
Public MethodImportFromXMLOverloaded. Loads the content of Query Transformer from file in a form of XML document.  
Public MethodOrderByOverloaded. Adds sorting to the query.  
Public MethodSelectOverloaded. Adds aggregate defined by the SelectedColumn object.  
Public MethodSelectRecordsCountOverloaded. Adds the "COUNT(*)" aggregate to the query.  
Public MethodSkipSets the number of first records to be skipped.  
Public MethodTakeSets the number of records to return.  
Public MethodWhereOverloaded. Adds filtration condition to the query.  
Top
Public Events
 NameDescription
Public EventSqlUpdatedOccurs each time the component updates the output SQL query text.  
Top
See Also

Reference

QueryTransformer Class
ActiveDatabaseSoftware.ActiveQueryBuilder.QueryTransformer Namespace

 

 


© Copyright 2005-2012 ActiveDBSoft. All rights reserved.

Send Feedback