C# Class Azavea.Open.DAO.Criteria.Joins.AbstractJoinExpression

Inheritance: IJoinExpression
Afficher le fichier Open project: azavea/net-dao

Protected Properties

Свойство Type Description
_trueOrNot bool

Méthodes publiques

Méthode Description
Flip ( ) : IJoinExpression

For some implementations, it's simpler to only implement one-sided joins. So to handle right (or left) joins, you want to flip the criteria so the right and left daos are swapped and you can do a left (or right) join instead.

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.

Méthodes protégées

Méthode Description
AbstractJoinExpression ( bool trueOrNot ) : System

This lets you specify whether to negate this expression.

Method Details

AbstractJoinExpression() protected méthode

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

Flip() public abstract méthode

For some implementations, it's simpler to only implement one-sided joins. So to handle right (or left) joins, you want to flip the criteria so the right and left daos are swapped and you can do a left (or right) join instead.
public abstract Flip ( ) : IJoinExpression
Résultat IJoinExpression

Invert() public abstract méthode

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
Résultat IExpression

ToString() public méthode

public ToString ( ) : string
Résultat string

TrueOrNot() public méthode

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

Property Details

_trueOrNot protected_oe property

Holds the value indicating whether this expression is negated.
protected bool _trueOrNot
Résultat bool