parentcolumnexpr-class
Represents a parent-column expression.
public class Korzh.EasyQuery.ParentColumnExpr
: EqExpression
Assembly: Korzh.EasyQuery.dll
Constructors
| Name | Type | Description |
|---|---|---|
| ParentColumnExpr(DataModel model) | void | Initializes a new instance of the Korzh.EasyQuery.ParentColumnExpr class. |
ParentColumnExpr(DataModel model, string columnId) | void | Initializes a new instance of the Korzh.EasyQuery.ParentColumnExpr class. |
Properties
| Name | Type | Description |
|---|---|---|
| DataType | DataType | Gets the expression data type. |
| Kind | DataKind | Gets the expression kind. |
| Name | string | The expression name. |
| Tag | int | The expression's tag |
| Value | string | The parent column Id. |
Methods
| Name | Type | Description |
|---|---|---|
LoadFromXmlReader(XmlReader reader) | void | Loads expression from XML reader. |
ReadOnePropFromJsonAsync(JsonReader reader, string propName, CancellationToken ct) | Task | Reads one expression property from JSON (asynchronous way). |
SaveToXmlWriter(XmlWriter writer, string tagName) | void | Saves expression to XML writer. |
WritePropertiesToJsonAsync(JsonWriter writer, CancellationToken ct) | Task | Writes all experssion properties to JSON (asynchronous way). This method must be overriden in the descendant classes |