C# Class Azavea.Open.DAO.Criteria.PropertyInListExpression

Inheritance: AbstractSinglePropertyExpression
Datei anzeigen Open project: azavea/net-dao

Public Properties

Property Type Description
Values IEnumerable

Public Methods

Method Description
Invert ( ) : IExpression

Produces an expression that is the exact opposite of this expression. The new expression should exclude everything this one includes, and include everything this one excludes.

PropertyInListExpression ( string property, IEnumerable values ) : System

Property is equal to one of the values in the given IEnumerable of values.

PropertyInListExpression ( string property, IEnumerable values, bool trueOrNot ) : System

Property is equal to one of the values in the given IList of values.

Method Details

Invert() public method

Produces an expression that is the exact opposite of this expression. The new expression should exclude everything this one includes, and include everything this one excludes.
public Invert ( ) : IExpression
return IExpression

PropertyInListExpression() public method

Property is equal to one of the values in the given IEnumerable of values.
public PropertyInListExpression ( string property, IEnumerable values ) : System
property string The data class' property/field being compared. /// May not be null.
values IEnumerable The values to check for. /// May not be null. An empty list will always mean "false".
return System

PropertyInListExpression() public method

Property is equal to one of the values in the given IList of values.
public PropertyInListExpression ( string property, IEnumerable values, bool trueOrNot ) : System
property string The data class' property/field being compared. /// May not be null.
values IEnumerable The values to check for. /// May not be null. An empty list will always mean "false".
trueOrNot bool True means look for matches (I.E. ==), /// false means look for non-matches (I.E. !=)
return System

Property Details

Values public_oe property

The values to check for. An empty list will always mean "false".
public IEnumerable Values
return IEnumerable