Skip to content

AggrFuncExpr class

Represents an expression which is a result of applying some functions to other expressions

public abstract class Korzh.EasyQuery.AggrFuncExpr
: EqExpression
TypeNameDescription
BooleandistinctIndicates whether all entries of the result must be different
AggrFunctionfunctionThe function of Korzh.EasyQuery.AggrFuncExpr
TypeNameDescription
EqExpressionArgumentGets or sets the main argument.
StringCustomFuncGets the custom func for expression if defined
DataTypeDataTypeGets or sets the data type.
BooleanDistinctGets or sets a value indicating whether this AggrFuncExpr has “DISTINCT” attribute.
AggrFunctionFunctionGets or sets the function.
StringTextGets the expression text.
StringValueGets or sets the expression value.
TypeNameDescription
voidAssignExpr(EqExpression expr)Assigns some expression to this one. For AggrFuncExpr class this method assigns the Expression object passed in parameter to Argument property
voidAttachArgument(EqExpression argument)
voidDetachArgument(EqExpression argument)
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).