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

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

Assembly: Korzh.EasyQuery.dll

NameTypeDescription
AggrFuncExpr(DataModel model, string funcId, EqExpression argExpr)voidInitializes a new instance of the Korzh.EasyQuery.AggrFuncExpr class.
NameTypeDescription
_functionAggrFunctionThe function of Korzh.EasyQuery.AggrFuncExpr
NameTypeDescription
ArgumentEqExpressionGets or sets the main argument.
AttributeEntityAttrGets or sets the attribute.
CustomFuncstringGets the custom func for expression if defined
DataTypeDataTypeGets or sets the data type.
FunctionAggrFunctionGets or sets the function.
IsAggregateboolgets a value indicating whether this expression is aggregate.
IsDistinctboolGets or sets a value indicating whether this AggrFuncExpr has “DISTINCT” attribute.
TagintGet the expression’s tag - a special identifier that is used to distinguish the type of the expression .
TextstringGets the expression text.
ValuestringGets or sets the expression value.
NameTypeDescription
AssignExpr(EqExpression expr)voidAssigns some expression to this one. For AggrFuncExpr class this method assigns the Expression object passed in parameter to Argument property
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.
SetContentSilent(string val, string txt)voidSets the content of the expression silently (without calling ContentChanged event).
WritePropertiesToJsonAsync(JsonWriter writer)TaskWrites one property to JSON (asynchronous way).