aggrfuncexpr-class
Represents an expression which is a result of applying some functions to other expressions
public class Korzh.EasyQuery.AggrFuncExpr
    : EqExpression
Assembly: Korzh.EasyQuery.dll
Constructors
| Name | Type | Description | 
|---|---|---|
| AggrFuncExpr(DataModel model, stringfuncId, EqExpression argExpr) | void | Initializes a new instance of the Korzh.EasyQuery.AggrFuncExpr class. | 
Fields
| Name | Type | Description | 
|---|---|---|
| _function | AggrFunction | The function of Korzh.EasyQuery.AggrFuncExpr | 
Properties
| 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 AggrFuncExprhas "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. | 
Methods
| 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( XmlReaderreader) | void | Loads expression from XML. | 
| ReadOnePropFromJsonAsync( JsonReaderreader,stringpropName,CancellationTokenct) | Task | Reads one property from JSON (asynchronous way). | 
| SaveToXmlWriter( XmlWriterwriter,stringtagName) | void | Saves expression to XML writer. | 
| SetContentSilent( stringval,stringtxt) | void | Sets the content of the expression silently (without calling ContentChanged event). | 
| WritePropertiesToJsonAsync( JsonWriterwriter,CancellationTokenct) | Task | Writes one property to JSON (asynchronous way). |