Skip to content

ConstExpr class

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

public class Korzh.EasyQuery.ConstExpr
: EqExpression
TypeNameDescription
DataTypeDataTypeGets or sets the data type.
DataKindKindGets the expression kind.
StringTypeNameNon-static version of Korzh.EasyQuery.ConstExpr.STypeName property.
StringValueGets or sets the value of expression.
TypeNameDescription
voidLoadFromJsonDict(JsonDict dict)Loads expression from IDictionary object (used when we load query from JSON).
voidLoadFromXmlReader(XmlReader reader)Loads expression from XML.
voidSaveToJsonDictCore(JsonDict dict)Saves expression’s properties to dictionary (used to serialize expression into JSON) This is an abstract method which should be overridden in descendant classes.
voidSaveToXmlWriter(XmlWriter writer, String tagName)Saves expression to XML writer.
voidSetContentSilent(String val, String txt)Sets the content of the expression silently (without calling ContentChanged event).
voidSetDataType(DataType dataType)Sets the data type of constant expression.
TypeNameDescription
StringSTypeNameGets the name of the expression type.