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

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

Public Methods

Method 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.

GreaterJoinExpression ( string leftProperty, string rightProperty ) : System

LeftProperty > RightProperty

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

LeftProperty > RightProperty

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

Flip() public method

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
return IJoinExpression

GreaterJoinExpression() public method

LeftProperty > RightProperty
public GreaterJoinExpression ( 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.
return System

GreaterJoinExpression() public method

LeftProperty > RightProperty
public GreaterJoinExpression ( 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. <=)
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