Skip to main content

constexpr-class

Represents a constant expression (like: 423 or "Master card").

public class Korzh.EasyQuery.ConstExpr
: EqExpression

Assembly: Korzh.EasyQuery.dll

Constructors

NameTypeDescription
ConstExpr(DataModel model, DataType dataType, DataKind aKind, string val)voidInitializes a new instance of the Korzh.EasyQuery.ConstExpr class.
ConstExpr(DataModel model, DataType dataType, DataKind dataKind)voidInitializes a new instance of the Korzh.EasyQuery.ConstExpr class.
ConstExpr(DataModel model, DataType dataType)voidInitializes a new instance of the Korzh.EasyQuery.ConstExpr class.
ConstExpr(DataModel model, DataType dataType, string val)voidInitializes a new instance of the Korzh.EasyQuery.ConstExpr class.
ConstExpr(DataModel model, string val)voidInitializes a new instance of the Korzh.EasyQuery.ConstExpr class.

Properties

NameTypeDescription
DataTypeDataTypeGets or sets the data type.
KindDataKindGets the expression kind.
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 XML.
ReadOnePropFromJsonAsync(JsonReader reader, string propName, CancellationToken ct)TaskReads one property from JSON (asynchronous way).
SaveToXmlWriter(XmlWriter writer, string tagName)voidSaves expression to XML writer.
WritePropertiesToJsonAsync(JsonWriter writer, CancellationToken ct)TaskWrites one property to JSON (asynchronous way).