Skip to content

QueryExpr class

Represents a sub-query expression

public class Korzh.EasyQuery.QueryExpr
: EqExpression

Package: Korzh.EasyQuery (targets: netstandard2.0)

Assembly: Korzh.EasyQuery.dll

NameTypeDescription
QueryExpr(DataModel model)voidInitializes a new instance of the Korzh.EasyQuery.QueryExpr class.
NameTypeDescription
DataTypeDataTypeGets or sets the data type.
IsPlainSqlboolGets a value indicating whether this instance contains a plain SQL statement.
KindDataKindGets the expression kind.
QueryQueryGets or sets the query.
TagintGet the expression’s tag - a special identifier that is used to distinguish the type of the expression .
NameTypeDescription
LoadFromXmlReader(XmlReader reader)voidLoads expression from System.Xml.XmlReader object.
ReadOnePropFromJsonAsync(JsonReader reader, string propName)TaskReads the expression properties from JSON (asynchronous way).
SaveToXmlWriter(XmlWriter writer, string tagName)voidSaves expression to System.Xml.XmlWriter object.
TagToOldClassName(int tag)stringConverts the expression’s tag value to the name of old expression class (like “CONST” or “ENTATTR”).
WritePropertiesToJsonAsync(JsonWriter writer)TaskWrites expression properties to JSON (asynchronous way).