Skip to main content

queryexpr-class

Represents a sub-query expression

public class Korzh.EasyQuery.QueryExpr
: EqExpression

Assembly: Korzh.EasyQuery.dll

Constructors

NameTypeDescription
QueryExpr(DataModel model)voidInitializes a new instance of the Korzh.EasyQuery.QueryExpr class.

Properties

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 .

Methods

NameTypeDescription
LoadFromXmlReader(XmlReader reader)voidLoads expression from System.Xml.XmlReader object.
ReadOnePropFromJsonAsync(JsonReader reader, string propName, CancellationToken ct)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, CancellationToken ct)TaskWrites expression properties to JSON (asynchronous way).