The abstract base class that criteria classes derive from. Criteria classes are used to specify criteria for various methods, limiting the returned objects to those that meet the criteria.

The following tables list the members exposed by the QueryCriteria type.

Protected Constructors

  Name Description
QueryCriteria Initializes a new QueryCriteria object.
Top

Public Properties

  Name Description
public property Criteria Gets the criteria expression that is used to filter results that are returned from a method that uses the criteria.
Top

Public Methods (see also Protected Methods)

  Name Description
public method Equals  Overloaded. (inherited from Object)
public method GetHashCode  (inherited from Object)
public method GetType  (inherited from Object)
public method IsValidPropertyName Returns a Boolean value that determines whether the specified property name is a valid property that can be used in the criteria expression.
public methodstatic ReferenceEquals  (inherited from Object)
public method ToString Overridden. Returns the criteria expression string.
Top

Protected Methods

  Name Description
protected method Finalize  (inherited from Object)
protected method IsSpecialPropertyName This method is for internal use only and is not intended to be used directly in your code.
protected method MemberwiseClone  (inherited from Object)
protected method ParseCriteria Overloaded. This method is for internal use only and is not intended to be used directly in your code.
protected method PropertyNameToColumnName Gets the database column name that represents the specified property name.
Top

See Also


Send comments about this topic to Microsoft.