Condition MethodsEasyQuery ASP.NET API Reference
The Condition type exposes the following members.
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
See Also