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

Inheritance: AbstractSingleValueExpression
Mostra file Open project: azavea/net-dao

Public Methods

Method Description
EqualExpression ( string property, object value ) : System

Property == PropertyValue. Does not accept wild cards.

EqualExpression ( string property, object value, bool trueOrNot ) : System

Property == PropertyValue. Does not accept wild cards.

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.

Method Details

EqualExpression() public method

Property == PropertyValue. Does not accept wild cards.
public EqualExpression ( string property, object value ) : System
property string The data class' property/field being compared. /// May not be null.
value object The value to check for. May be null (to check if the field is null).
return System

EqualExpression() public method

Property == PropertyValue. Does not accept wild cards.
public EqualExpression ( string property, object value, bool trueOrNot ) : System
property string The data class' property/field being compared. /// May not be null.
value object The value to check for. May be null (to check if the field is null).
trueOrNot bool True means look for matches (I.E. ==), /// false means look for non-matches (I.E. !=)
return System

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