Skip to content

SubQueryExpr class

Represents a sub-query expression

public class Korzh.EasyQuery.Db.SubQueryExpr
: EqExpression, ISqlExpression, IDbCondition
TypeNameDescription
DataTypeDataTypeGets or sets the data type.
DataKindKindGets the expression kind.
StringTypeNameNon-static version of Korzh.EasyQuery.Db.SubQueryExpr.STypeName property.
StringValueGets or sets the value of expression.
TypeNameDescription
StringGetSqlExpr(DbQueryFormats formats, SqlExtraClauses extraClauses = null)Gets the SQL expression of the Korzh.EasyQuery.Db.SubQueryExpr object.
voidGetUsedTables(TableList tables)Add the tables used in this expression in the list.
voidLoadFromJsonDict(JsonDict dict)Loads expression from IDictionary object (used when we load query from JSON).
voidLoadFromXmlReader(XmlReader reader)Loads expression from System.Xml.XmlReader object.
voidSaveToJsonDictCore(JsonDict dict)Saves expression’s properties to dictionary (used to serialize expression into JSON) This is an abstract method which should be overridden in descendant classes.
voidSaveToXmlWriter(XmlWriter writer, String tagName)Saves expression to System.Xml.XmlWriter object.
voidSetContentSilent(String val, String txt)Sets the content of the expression silently (without calling ContentChanged event).
TypeNameDescription
StringSTypeNameGets the name of the expression type.