SIFWorks ADK 2.0
QueryFormatter Class
NamespacesEdustructures.SifWorks.Tools.QueryQueryFormatter

[This is preliminary documentation and is subject to change.]

The abstract base class for query formatters, which format SIF_Query queries in another form such as an SQL WHERE clause. The way in which a query is formatted is determined by the subclass implementation. A subclass must implement these methods:
Declaration Syntax
C#Visual BasicVisual C++
public abstract class QueryFormatter
Public MustInherit Class QueryFormatter
public ref class QueryFormatter abstract
Members
All MembersConstructorsMethods



IconMemberDescription
QueryFormatterQueryFormatterNew()()
Constructs a QueryFormatter

Format(Query, IDictionary)
Builds a query string given a dictionary of mappings and a Query instance. This method evaluates the conditions of that Query to produce a textual query string in format determined by the implementation.

GetOperator(GroupOperator)
Return the text that should be inserted for a logical AND or OR operation

GetOperator(ComparisonOperators)
Return the text that should be inserted for a logical greater than, less than, equal or not equal comparison

RenderField(IElementDef, Object)
Return the text for a field name

RenderValue(String, Object)
Return the text for a field value

Inheritance Hierarchy
Object
QueryFormatter
 SQLQueryFormatter

Assembly: Edustructures.SifWorks.Adk (Module: Edustructures.SifWorks.Adk) Version: 2.0.0.10