Condition MembersEasyQuery WinForms API Reference

The Condition type exposes the following members.
Constructors

  NameDescription
Public methodCondition
Initializes a new instance of the Condition class.
Back to Top
Methods

  NameDescription
Public methodBeginUpdate
Starts the update process. OnConditionsChanged event of corresponding Query object is not raised while condition is in update state
Public methodChanged
Raises ConditionsChange event in parent object
Protected methodCheckDataModel
Checks DataModel property. Generates an exception if it is null.
Protected methodCheckQuery
Checks Query property. Generates an exception if it is null.
Public methodStatic memberCreate
Creates the condition instance (descendant of Condition) of specified class.
Public methodEndUpdate
Ends the update process. Raises ConditionsChange event if some modification(s) was(were) made during update process.
Public methodOnlineEquals
Determines whether the specified OnlineObject is equal to the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodOnlineFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from OnlineObject.)
Protected methodGetBaseAttr
Gets the base entity attribute for this condition.
Public methodOnlineGetHashCode
Serves as a hash function for a particular type.
(Inherited from OnlineObject.)
Protected methodGetHaving
Gets a value indicating whether this condition must be placed into HAVING clause in result SQL. Must be overriden in the inherited classes
Public methodGetText 
Returns text representation of condition with default formats (QueryTextFormats.Default)
Public methodGetText(QueryTextFormats)
Returns text representation of condition
Public methodGetText(QueryTextFormats, String, String)
Returns text representation of condition
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Public methodGetUsedEntities
Gets the list of entities used in this condition
Public methodStatic memberLinkTypeToStr
Converts LinkType value to its string representation
Public methodLoadFromDictionary
Loads condition from IDictionary. Used during loading query from JSON
Public methodLoadFromXmlReader
When overriden in a derived class loads Condition properties from XML reader.
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Public methodMoveDown
Moves the condition to one position down (taking into account the level of other conditions).
Public methodMoveUp
Moves the condition to one position up (taking into account the level of other conditions).
Public methodRefresh
Refreshes this instance.
Public methodStatic memberRegisterType
Registers new type of condition.
Public methodSaveToXmlWriter
Saves condition object to XML writer.
Protected methodSetEnabled
Sets the Enabled property.
Protected methodSetQuery
Sets the query.
Protected methodSetReadOnly
Sets the ReadOnly property.
Public methodShiftLevel
Shifts the row level (taking into account the level of other rows)
Public methodStatic memberStrToLinkType
Convert string representation to LinkType value.
Public methodOnlineToString
Returns a string that represents the current object.
(Inherited from OnlineObject.)
Protected methodWriteContent
Writes the content of condition to XmlWriter object.
Back to Top
Properties

  NameDescription
Public propertyBaseAttr
Gets the base entity attribute for this condition.
Public propertyEnabled
Gets or sets a value indicating whether this Condition is enabled.
Public propertyFullNum
Gets the full number of condition.
Public propertyID
Gets or sets the ID.
Public propertyIndex
Gets the index in the parent's list.
Public propertyIsHaving
Gets a value indicating whether this condition must be placed into HAVING clause in result SQL.
Protected propertyIsSilent
Gets a value indicating whether this query is silent - so no event will be raised on change.
Public propertyLevel
Gets the level of this condition in query.
Public propertyModel
Gets the model.
Public propertyParent
Gets the parent Predicate which this conditions is included to.
Public propertyQuery
Gets the query which this condition belongs to.
Public propertyReadOnly
Gets or sets a value indicating whether this Condition is read-only.
Public propertyStatic memberSTypeName
Gets the name of the condition type used for saving/loading to/from XML.
Public propertyTypeName
Gets the name of the condition type (Simple, Predicate, etc).
Public propertyUseDefaultValues
Gets a value indicating whether condition expressions should get default values after creation
Public propertyStatic memberXmlTagName
Gets the name of the XML tag used to save condition object into XML file.
Back to Top
See Also