Skip to content

ConstExpr class

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

public class Korzh.EasyQuery.ConstExpr
: EqExpression

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

Assembly: Korzh.EasyQuery.dll

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.
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 .
NameTypeDescription
LoadFromXmlReader(XmlReader reader)voidLoads expression from XML.
ReadOnePropFromJsonAsync(JsonReader reader, string propName)TaskReads one property from JSON (asynchronous way).
SaveToXmlWriter(XmlWriter writer, string tagName)voidSaves expression to XML writer.
WritePropertiesToJsonAsync(JsonWriter writer)TaskWrites one property to JSON (asynchronous way).