Skip to content

EntityAttrExpr class

An EqExpression descendant that represents an entity attribute.

public class Korzh.EasyQuery.EntityAttrExpr
: EqExpression
TypeNameDescription
EntityAttrAttributeGets or sets the attribute.
StringCustomFuncGets the custom func for expression if defined
DataTypeDataTypeGets the type of the expression.
BooleanIsAggregateGets a value indicating whether this expression is aggregate.
BooleanIsParentExprGets a value indicating whether this instance is a parent expression.
DataKindKindGets the expression kind.
Int32TagGet the expression’s tag - a special identifier that is used to distinguish the type of the expression .
StringTextGets the expression text. For this type it returns entity name + attribute caption.
StringValueGets or sets the expression value.
TypeNameDescription
voidAssignExpr(EqExpression expr)Assigns some expression to this one. This method just does nothing in the base class but can perform some actions in Expression descendants.
voidLoadFromXmlReader(XmlReader reader)Loads expression from XML.
voidReadOnePropFromJson(JsonReader reader, String propName)Reads one property of the expression. or skips unused from the JSON reader.
TaskReadOnePropFromJsonAsync(JsonReader reader, String propName)Reads one property of the expression (asynchronous way). or skips unused from the JSON reader.
voidSaveToXmlWriter(XmlWriter writer, String tagName)Saves the expression to XML writer.
voidSetAttribute(EntityAttr attr)Sets the entity attribute.
voidSetContentSilent(String val, String txt)Sets the content of the expression silently (without calling ContentChanged event).
voidWritePropertiesToJson(JsonWriter writer)Saves propeerties of the expression (asynchronous way). to JSON writer.
TaskWritePropertiesToJsonAsync(JsonWriter writer)Saves propeerties of the expression (asynchronous way). to JSON writer.
TypeNameDescription
StringTextFormatGets or sets the format of the text representation for this type of expression.