Skip to content

DbEntityAttrExpr class

An Korzh.EasyQuery.EqExpression descendant which represents an attribute.

public class Korzh.EasyQuery.Db.DbEntityAttrExpr
: EntityAttrExpr, ISqlExpression, IDbCondition
TypeNameDescription
DbEntityAttrAttributeGets 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.
DataKindKindGets the expression kind.
StringTextGets the expression text. For this type it returns entity name + attribute caption.
StringTypeNameNon-static version of Korzh.EasyQuery.Db.DbEntityAttrExpr.STypeName property.
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 Korzh.EasyQuery.EqExpression descendants.
StringGetSqlExpr(DbQueryFormats formats, SqlExtraClauses extraClauses = null)Gets the SQL expression of the Korzh.EasyQuery.EntityAttrExpr object.
voidGetUsedTables(TableList tables)Add the tables used in this expression in the list.
voidLoadFromXmlReader(XmlReader reader)Loads Korzh.EasyQuery.EqExpression object from XML.
voidSaveToXmlWriter(XmlWriter writer, String tagName)Saves the Korzh.EasyQuery.EqExpression object to XML writer.
TypeNameDescription
StringSTypeNameGets the name of the expression type.