DbSimpleCondition MembersEasyQuery ASP.NET API Reference

The DbSimpleCondition type exposes the following members.
Constructors

  NameDescription
Public methodDbSimpleCondition
Initializes a new instance of the DbSimpleCondition class.
Back to Top
Methods

  NameDescription
Public methodAdjustOperator
Adjusts the operator by base expression.
(Inherited from SimpleCondition.)
Protected methodAttachExpr
Attaches the handler for expression's OnContentChange event to DoExprContentChanged method
(Inherited from SimpleCondition.)
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.
(Inherited from SimpleCondition.)
Protected methodCreateValueExprByOperand
Creates the value expression by operand
(Overrides SimpleCondition CreateValueExprByOperand(Operand).)
Protected methodDetachExpr
Detaches the handler for expression's OnContentChange event
(Inherited from SimpleCondition.)
Protected methodDoExprContentChanged
Does the expr changed.
(Inherited from SimpleCondition.)
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.
(Inherited from SimpleCondition.)
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.
(Overrides Condition GetHaving .)
Protected methodGetOperand
Gets the condition operand based on its index. Index 0 stands for an attribute
(Inherited from SimpleCondition.)
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
(Inherited from SimpleCondition.)
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Public methodGetUsedEntities
Gets the list of all entities used in condition.
(Inherited from SimpleCondition.)
Public methodGetUsedTables
Returns list of tables used in condition.
Public methodLoadFromDictionary
Loads condition from IDictionary. Used during loading query from JSON
(Inherited from SimpleCondition.)
Public methodLoadFromXmlReader
Loads SimpleCondition properties from XML reader.
(Inherited from SimpleCondition.)
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.
(Inherited from SimpleCondition.)
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.
(Inherited from SimpleCondition.)
Public methodSetOperatorSilent
Sets the operator in "silent" mode (no event is raised, no expression is adjusted).
(Inherited from SimpleCondition.)
Protected methodSetQuery
Sets the query.
(Inherited from Condition.)
Protected methodSetReadOnly
Sets the ReadOnly property.
(Inherited from Condition.)
Public methodSetValueExpr
Sets the value expression.
(Inherited from SimpleCondition.)
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.
(Inherited from SimpleCondition.)
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.
(Inherited from SimpleCondition.)
Public propertyDefaultOperand
Gets the default operand.
(Inherited from SimpleCondition.)
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.
(Inherited from SimpleCondition.)
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.
(Inherited from SimpleCondition.)
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 SimpleCondition TypeName.)
Public propertyUseDefaultValues
Gets a value indicating whether condition expressions should get default values after creation
(Inherited from Condition.)
Back to Top
See Also