DbPredicate MethodsEasyQuery ASP.NET API Reference
The DbPredicate type exposes the following members.
Methods

  NameDescription
Public methodAddPredicate
Creates and adds a new predicate into current
(Inherited from Predicate.)
Public methodAddSimpleCondition(String, String,  String )
Adds a simple condition by attribute ID, operator ID and a list of values
(Inherited from Predicate.)
Public methodAddSimpleCondition(EntityAttr, Operator,  Expression )
Adds a simple condition by attribute, operator and a list of expressions
(Inherited from Predicate.)
Public methodBeginUpdate
Starts the update process. OnConditionsChanged event of corresponding Query object is not raised while condition is in update state
(Inherited from Predicate.)
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 methodCheckIfEnabled
This procedure is called when Enable state in one of the child conditions was changed.
(Inherited from Predicate.)
Protected methodCheckQuery
Checks Query property. Generates an exception if it is null.
(Inherited from Condition.)
Public methodContainsGhosts
Determines whether this predicate contains a condition with a "ghost" attribute.
(Inherited from Predicate.)
Public methodEndUpdate
Ends the update process. Raises ConditionsChange event if some modification(s) was(were) made during update process.
(Inherited from Predicate.)
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.)
Public methodFindCondByAttr
Finds the condition the by entity attribute set in the left part of this condition.
(Inherited from Predicate.)
Protected methodGetBaseAttr
Gets the base entity attribute for this condition.
(Inherited from 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.
(Inherited from Predicate.)
Public methodGetOffspringCount
Gets the number of all offspings of the predicate
(Inherited from Predicate.)
Protected methodGetPredicateHeader
Gets the predicate header text.
(Inherited from Predicate.)
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 Predicate.)
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Public methodGetUsedEntities
Gets the list of entities that are used in conditions of this predicate.
(Inherited from Predicate.)
Public methodGetUsedTables
Returns list of tables used in condition.
Public methodLoadFromDictionary
Loads condition from IDictionary. Used during loading query from JSON
(Inherited from Predicate.)
Public methodLoadFromXmlReader
Loads Predicate properties from XML reader.
(Inherited from Predicate.)
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 methodRefresh
Refreshes this instance.
(Inherited from Condition.)
Public methodSaveToXmlWriter
Saves root condition group object to XML writer.
(Overrides Predicate SaveToXmlWriter(XmlWriter).)
Protected methodSetEnabled
Sets the Enabled property.
(Inherited from Predicate.)
Protected methodSetQuery
Sets the query object.
(Inherited from Predicate.)
Protected methodSetReadOnly
Sets the ReadOnly property.
(Inherited from Predicate.)
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 Predicate.)
Protected methodWriteSubNodesToXml
Writes the sub codnitions to XML.
(Inherited from Predicate.)
Back to Top
See Also