SimpleCondition MembersEasyQuery ASP.NET API Reference

The SimpleCondition type exposes the following members.
Constructors

  NameDescription
Public methodSimpleCondition
Initializes a new instance of the SimpleCondition class.
Back to Top
Methods

  NameDescription
Public methodAdjustOperator
Adjusts the operator by base expression.
Protected methodAttachExpr
Attaches the handler for expression's OnContentChange event to DoExprContentChanged method
Public methodBeginUpdate
Starts the update process. OnConditionsChanged event of corresponding Query object is not raised while condition is in update state
(Inherited from Condition.)
Public methodChanged
Raises ConditionsChange event in parent object
(Inherited from Condition.)
Protected methodCheckDataModel
Checks DataModel property. Generates an exception if it is null.
(Inherited from Condition.)
Protected methodCheckQuery
Checks Query property. Generates an exception if it is null.
(Inherited from Condition.)
Protected methodCreateValueExpr
Creates the value expression.
Protected methodCreateValueExprByOperand
Creates a value expression by operand.
Protected methodDetachExpr
Detaches the handler for expression's OnContentChange event
Protected methodDoExprContentChanged
Does the expr changed.
Public methodEndUpdate
Ends the update process. Raises ConditionsChange event if some modification(s) was(were) made during update process.
(Inherited from Condition.)
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.
(Overrides Condition GetBaseAttr .)
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
(Inherited from Condition.)
Protected methodGetOperand
Gets the condition operand based on its index. Index 0 stands for an attribute
Public methodGetText 
Returns text representation of condition with default formats (QueryTextFormats.Default)
(Inherited from Condition.)
Public methodGetText(QueryTextFormats)
Returns text representation of condition
(Inherited from Condition.)
Public methodGetText(QueryTextFormats, String, String)
Returns text representation of condition
(Overrides Condition GetText(QueryTextFormats, String, String).)
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Public methodGetUsedEntities
Gets the list of all entities used in condition.
(Overrides Condition GetUsedEntities .)
Public methodLoadFromDictionary
Loads condition from IDictionary. Used during loading query from JSON
(Overrides Condition LoadFromDictionary(IDictionary String, Object ).)
Public methodLoadFromXmlReader
Loads SimpleCondition properties from XML reader.
(Overrides Condition LoadFromXmlReader(XmlReader).)
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).
(Inherited from Condition.)
Public methodMoveUp
Moves the condition to one position up (taking into account the level of other conditions).
(Inherited from Condition.)
Public methodRecreateValueExpr
Recreates the value expression.
Public methodRefresh
Refreshes this instance.
(Inherited from Condition.)
Public methodSaveToXmlWriter
Saves condition object to XML writer.
(Inherited from Condition.)
Protected methodSetEnabled
Sets the Enabled property.
(Inherited from Condition.)
Protected methodSetOperator
Sets the operator.
Public methodSetOperatorSilent
Sets the operator in "silent" mode (no event is raised, no expression is adjusted).
Protected methodSetQuery
Sets the query.
(Inherited from Condition.)
Protected methodSetReadOnly
Sets the ReadOnly property.
(Inherited from Condition.)
Public methodSetValueExpr
Sets the value expression.
Public methodShiftLevel
Shifts the row level (taking into account the level of other rows)
(Inherited from Condition.)
Public methodOnlineToString
Returns a string that represents the current object.
(Inherited from OnlineObject.)
Protected methodWriteContent
Writes the content of condition to XmlWriter object.
(Overrides Condition WriteContent(XmlWriter).)
Back to Top
Properties

  NameDescription
Public propertyBaseAttr
Gets the base entity attribute for this condition.
(Inherited from Condition.)
Public propertyBaseExpr
Gets or sets the base expression of the condtion.
Public propertyDefaultOperand
Gets the default operand.
Public propertyEnabled
Gets or sets a value indicating whether this Condition is enabled.
(Inherited from Condition.)
Public propertyExpressions
Gets the list of all expressions used in condition. First expression in the list is base expression.
Public propertyFullNum
Gets the full number of condition.
(Inherited from Condition.)
Public propertyID
Gets or sets the ID.
(Inherited from Condition.)
Public propertyIndex
Gets the index in the parent's list.
(Inherited from Condition.)
Public propertyIsHaving
Gets a value indicating whether this condition must be placed into HAVING clause in result SQL.
(Inherited from Condition.)
Protected propertyIsSilent
Gets a value indicating whether this query is silent - so no event will be raised on change.
(Inherited from Condition.)
Public propertyLevel
Gets the level of this condition in query.
(Inherited from Condition.)
Public propertyModel
Gets the model.
(Inherited from Condition.)
Public propertyOperator
Gets or sets the operator used in this condition.
Public propertyParent
Gets the parent Predicate which this conditions is included to.
(Inherited from Condition.)
Public propertyQuery
Gets the query which this condition belongs to.
(Inherited from Condition.)
Public propertyReadOnly
Gets or sets a value indicating whether this Condition is read-only.
(Inherited from Condition.)
Public propertyStatic memberSTypeName
Gets the name of the condition type used for saving to XML.
Public propertyTypeName
Gets the name of the condition type. The same as STypeName but works for one particular instance of SimpleCondition class.
(Overrides Condition TypeName.)
Public propertyUseDefaultValues
Gets a value indicating whether condition expressions should get default values after creation
(Inherited from Condition.)
Back to Top
See Also