Skip to content

QueryExpr class

Represents a sub-query expression

public class Korzh.EasyQuery.QueryExpr
: EqExpression
TypeNameDescription
DataTypeDataTypeGets or sets the data type.
BooleanIsPlainSqlGets a value indicating whether this instance contains a plain SQL statement.
DataKindKindGets the expression kind.
QueryQueryGets or sets the query.
Int32TagGet the expression’s tag - a special identifier that is used to distinguish the type of the expression .
TypeNameDescription
QueryCreateQuery()Creates a new query object.
voidLoadFromXmlReader(XmlReader reader)Loads expression from System.Xml.XmlReader object.
voidReadOnePropFromJson(JsonReader reader, String propName)Reads the expression properties from JSON
TaskReadOnePropFromJsonAsync(JsonReader reader, String propName)Reads the expression properties from JSON (asynchronous way).
voidSaveToXmlWriter(XmlWriter writer, String tagName)Saves expression to System.Xml.XmlWriter object.
StringTagToOldClassName(Int32 tag)Converts the expression’s tag value to the name of old expression class (like “CONST” or “ENTATTR”).
voidWritePropertiesToJson(JsonWriter writer)Writes expression properties to JSON.
TaskWritePropertiesToJsonAsync(JsonWriter writer)Writes expression properties to JSON (asynchronous way).