DomainObjects Class Library

Criteria Members

Criteria overview

Public Static Operators

Bitwise And Operator Constrains the search to rows in which the criteria1 and criteria2 are both true.
Bitwise Or Operator Constrains the search to rows in which either criteria1 or criteria2 are true.
False Operator Implements the operator false.
True Operator Implements the operator true.

Public Instance Constructors

Criteria Constructor Initializes a new instance of the Criteria class.

Public Instance Properties

GroupByFieldList Gets the group by field list.
IsEmpty 
OrderByFieldList Gets the order by field list.
PredicateList 

Public Instance Methods

Accept Accepts the specified visitor.
AddAndCriteria Adds the and criteria.
AddBetween Constrains the search to rows in which the field has a value that is greater than or equal to the beginValueInRange and less than or equal to the endValueInRange. The field must be of the same data type as both the beginValueInRange and the endValueInRange.
AddEqualTo Constrains the search to rows in which the field has a value equal to the given compareToValue.
AddExistsOverloaded. Constrains the search to rows where at least one row is returned by the criteria being executed against the given classToFind.
AddGreaterOrEqualThan Constrains the search to rows in which the field has a value greater than or equal to the compareToValue.
AddGreaterThan Constrains the search to rows in which the field has a value greater than the compareToValue.
AddGroupBy Adds a group by clause against the given fieldToGroupBy.
AddInOverloaded. Constrains the search to rows in which the field has a value that is equal to at least one of the values in the set of compareToValues.
AddInSubqueryOverloaded. Constrains the search to rows in which the field has a value that is equal to at least one of the compareToField values returned by a subquery constrained by the given criteria.
AddIsNull Constrains the search to rows in which the field has a null value.
AddLessOrEqualThan Constrains the search to rows in which the field has a value less than or equal to the compareToValue.
AddLessThan Constrains the search to rows in which the field has a value less than the compareToValue.
AddLike Constrains the search to rows in which the field matches the pattern specified in the patternToMatch.
AddNotBetween Constrains the search to rows in which the field has a value that is less than the beginValueInRange or greater than the endValueInRange. The field must be of the same data type as both the beginValueInRange and the endValueInRange.
AddNotEqualTo Constrains the search to rows in which the field has a value not equal to the given compareToValue.
AddNotExistsOverloaded. Constrains the search to rows where no row is returned by the criteria being executed against the given classToFind.
AddNotIn Constrains the search to rows in which the field has a value that is not equal to any of the values in the set of compareToValues.
AddNotInSubqueryOverloaded. Constrains the search to rows in which the field has a value that is not equal any of the compareToField values returned by a subquery constrained by the given criteria.
AddNotLike Constrains the search to rows in which the field does not match the pattern specified in the patternToNotMatch.
AddNotNull Constrains the search to rows in which the field has a non-null value.
AddOrCriteria Adds the or criteria.
AddOrderByOverloaded. Specifies a field on which to sort the rows selected by a query. Sorts the selected rows in ascending order.
ConvertToSearchConditionClauseText Converts to search condition clause text.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetCompleteCriteriaList Gets the complete criteria list.
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetImmediateChildExpressions Gets the child object model expressions that are directly contained by this expression.
GetType (inherited from Object)Gets the Type of the current instance.
ToString (inherited from Object)Returns a String that represents the current Object.

See Also

Criteria Class | DomainObjects.Facade.Command Namespace