EqExpression class
Represents common expression object.
public abstract class Korzh.EasyQuery.EqExpressionFields
Section titled “Fields”| Type | Name | Description | 
|---|---|---|
| String | text | This field contains expression’s text | 
Properties
Section titled “Properties”| Type | Name | Description | 
|---|---|---|
| String | CustomFunc | Gets the custom func for expression if defined | 
| DataType | DataType | Gets or sets the data type. | 
| String | Hint | Gets or sets the expression hint. | 
| Boolean | IsAggregate | Gets a value indicating whether this expression is aggregate. | 
| DataKind | Kind | Gets the expression kind. | 
| Type | SystemType | Gets the system type for this expreesion (it’s used in LINQ query builder) | 
| String | Text | Gets or sets the expression text used for visual representation. | 
| String | TypeName | Non-static version of Korzh.EasyQuery.EqExpression.STypeName property. | 
| String | Value | Gets or sets the value of expression. | 
Events
Section titled “Events”| Type | Name | Description | 
|---|---|---|
| EventHandler | ContentChange | This event is raised after expression was changed | 
Methods
Section titled “Methods”| Type | Name | Description | 
|---|---|---|
| void | AssignExpr( EqExpressionexpr) | Assigns some expression to this one. This method just does nothing in the base class but can perform some actions in Expression descendants. | 
| void | ContentChanged() | Invoke ContentChange event | 
| void | LoadFromJsonDict( JsonDictdict) | Loads expression from dictionary object (used when we load query from JSON). | 
| void | LoadFromXmlReader( XmlReaderreader) | Loads expression from XML. | 
| void | OnContentChange( EventArgse) | Raises the ContentChange event. | 
| void | SaveToJsonDict( JsonDictdict) | Saves expression’s properties to dictionary (used to serialize expression into JSON) | 
| void | SaveToJsonDictCore( JsonDictdict) | Saves expression’s properties to dictionary (used to serialize expression into JSON) This is an abstract method which should be overridden in descendant classes. | 
| void | SaveToXmlWriter( XmlWriterwriter,StringtagName) | Saves expression to XML writer. | 
| void | SaveToXmlWriter( XmlWriterwriter) | Saves expression to XML writer. | 
| void | SetContent( Stringval,Stringtxt) | Sets the content of the expression (both its value and text). | 
| void | SetContentSilent( Stringval,Stringtxt) | Sets the content of the expression silently (without calling ContentChanged event). | 
| void | WriteXmlTagStart( XmlWriterwriter) | Writes the expression XML tag start. | 
| void | WriteXmlTagStart( XmlWriterwriter,StringtagName) | Writes the expression XML tag start. | 
Static Fields
Section titled “Static Fields”| Type | Name | Description | 
|---|---|---|
| Dictionary<String, IExpressionCreator> | Creators | 
Static Properties
Section titled “Static Properties”| Type | Name | Description | 
|---|---|---|
| String | STypeName | Gets the name of the expression type. | 
| String | XmlTagName | Gets the name of the XML tag used for representation of Expression (an all its descendants) object in XML files. | 
Static Methods
Section titled “Static Methods”| Type | Name | Description | 
|---|---|---|
| String | ApplyCustomFunc( Stringfunc,Stringexpr) | Applies the custom function. | 
| EqExpression | Create( StringexprType,DataModelmodel) | Creates the expression instance of specified type. | 
| Boolean | RegisterType( Stringtype,IExpressionCreatorcreator) | Registers new type of expression. | 
 
 