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


Name Type Description
AggrFuncExpr(DataModel model, string funcId, EqExpression argExpr) void Initializes a new instance of the Korzh.EasyQuery.AggrFuncExpr class.


Name Type Description
_function AggrFunction The function of Korzh.EasyQuery.AggrFuncExpr


Name Type Description
Argument EqExpression Gets or sets the main argument.
Attribute EntityAttr Gets or sets the attribute.
CustomFunc string Gets the custom func for expression if defined
DataType DataType Gets or sets the data type.
Function AggrFunction Gets or sets the function.
IsAggregate bool gets a value indicating whether this expression is aggregate.
IsDistinct bool Gets or sets a value indicating whether this AggrFuncExpr has "DISTINCT" attribute.
Tag int Get the expression's tag - a special identifier that is used to distinguish the type of the expression .
Text string Gets the expression text.
Value string Gets or sets the expression value.


Name Type Description
AssignExpr(EqExpression expr) void Assigns some expression to this one. For AggrFuncExpr class this method assigns the Expression object passed in parameter to Argument property
LoadFromXmlReader(XmlReader reader) void Loads expression from XML.
ReadOnePropFromJsonAsync(JsonReader reader, string propName) Task Reads one property from JSON (asynchronous way).
SaveToXmlWriter(XmlWriter writer, string tagName) void Saves expression to XML writer.
SetContentSilent(string val, string txt) void Sets the content of the expression silently (without calling ContentChanged event).
WritePropertiesToJsonAsync(JsonWriter writer) Task Writes one property to JSON (asynchronous way).