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

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

Méthodes publiques

Méthode Description
EqualJoinExpression ( string leftProperty, string rightProperty ) : System

LeftProperty == RightProperty. Does not accept wild cards.

EqualJoinExpression ( string leftProperty, string rightProperty, bool trueOrNot ) : System

LeftProperty == RightProperty. Does not accept wild cards.

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.

Method Details

EqualJoinExpression() public méthode

LeftProperty == RightProperty. Does not accept wild cards.
public EqualJoinExpression ( string leftProperty, string rightProperty ) : System
leftProperty string The name of the property on the object returned by the /// left DAO that we are comparing.
rightProperty string The name of the property on the object returned by the /// right DAO that we are comparing.
Résultat System

EqualJoinExpression() public méthode

LeftProperty == RightProperty. Does not accept wild cards.
public EqualJoinExpression ( string leftProperty, string rightProperty, bool trueOrNot ) : System
leftProperty string The name of the property on the object returned by the /// left DAO that we are comparing.
rightProperty string The name of the property on the object returned by the /// right DAO that we are comparing.
trueOrNot bool True means look for matches (I.E. ==), /// false means look for non-matches (I.E. !=)
Résultat System

Flip() public 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 Flip ( ) : IJoinExpression
Résultat IJoinExpression

Invert() public 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 Invert ( ) : IExpression
Résultat IExpression