constexpr-class
Represents a constant expression (like: 423 or "Master card").
public class Korzh.EasyQuery.ConstExpr
: EqExpression
Assembly: Korzh.EasyQuery.dll
Constructors
Name | Type | Description |
---|---|---|
ConstExpr(DataModel model, DataType dataType, DataKind aKind, string val) | void | Initializes a new instance of the Korzh.EasyQuery.ConstExpr class. |
ConstExpr(DataModel model, DataType dataType, DataKind dataKind) | void | Initializes a new instance of the Korzh.EasyQuery.ConstExpr class. |
ConstExpr(DataModel model, DataType dataType) | void | Initializes a new instance of the Korzh.EasyQuery.ConstExpr class. |
ConstExpr(DataModel model, DataType dataType, string val) | void | Initializes a new instance of the Korzh.EasyQuery.ConstExpr class. |
ConstExpr(DataModel model, string val) | void | Initializes a new instance of the Korzh.EasyQuery.ConstExpr class. |
Properties
Name | Type | Description |
---|---|---|
DataType | DataType | Gets or sets the data type. |
Kind | DataKind | Gets the expression kind. |
Tag | int | Get the expression's tag - a special identifier that is used to distinguish the type of the expression . |
Methods
Name | Type | Description |
---|---|---|
LoadFromXmlReader(XmlReader reader) | void | Loads expression from XML. |
ReadOnePropFromJsonAsync(JsonReader reader, string propName, CancellationToken ct) | Task | Reads one property from JSON (asynchronous way). |
SaveToXmlWriter(XmlWriter writer, string tagName) | void | Saves expression to XML writer. |
WritePropertiesToJsonAsync(JsonWriter writer, CancellationToken ct) | Task | Writes one property to JSON (asynchronous way). |