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

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

Protected Properties

Property Type Description
_trueOrNot bool

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.

ToString ( ) : string
TrueOrNot ( ) : bool

This tells you whether you want things that match, or things that don't match, this expression.

Protected Methods

Method Description
AbstractExpression ( bool trueOrNot ) : System

This lets you specify whether to negate this expression.

Method Details

AbstractExpression() protected method

This lets you specify whether to negate this expression.
protected AbstractExpression ( bool trueOrNot ) : System
trueOrNot bool True means look for matches (I.E. ==), /// false means look for non-matches (I.E. !=)
return System

Invert() public abstract 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 abstract Invert ( ) : IExpression
return IExpression

ToString() public method

public ToString ( ) : string
return string

TrueOrNot() public method

This tells you whether you want things that match, or things that don't match, this expression.
public TrueOrNot ( ) : bool
return bool

Property Details

_trueOrNot protected_oe property

Holds the value indicating whether this expression is negated.
protected bool _trueOrNot
return bool