Skip to content

AggrFuncExpr class

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

public class Korzh.EasyQuery.AggrFuncExpr
: EqExpression
TypeNameDescription
AggrFunctionfunctionThe function of Korzh.EasyQuery.AggrFuncExpr
TypeNameDescription
EqExpressionArgumentGets or sets the main argument.
EntityAttrAttributeGets or sets the attribute.
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.
BooleanIsAggregategets a value indicating whether this expression is aggregate.
Int32TagGet the expression’s tag - a special identifier that is used to distinguish the type of the expression .
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)
voidLoadFromXmlReader(XmlReader reader)Loads expression from XML.
voidReadOnePropFromJson(JsonReader reader, String propName)Reads one property from JSON
TaskReadOnePropFromJsonAsync(JsonReader reader, String propName)Reads one property from JSON (asynchronous way).
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).
voidWritePropertiesToJson(JsonWriter writer)Writes one property to JSON.
TaskWritePropertiesToJsonAsync(JsonWriter writer)Writes one property to JSON (asynchronous way).