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

Inheritance: AbstractPropertyValueJoinExpression
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.

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.

RightPropertyValueEqualJoinExpression ( string property, object value ) : System

For joins that use one field from the Right DAO and compares on a value.

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

For joins that use one field from the Right DAO and compares on a value.

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

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

RightPropertyValueEqualJoinExpression() public method

For joins that use one field from the Right DAO and compares on a value.
public RightPropertyValueEqualJoinExpression ( string property, object value ) : System
property string The name of the property on the object returned by the /// Right DAO.
value object The value that the given property is compared to.
return System

RightPropertyValueEqualJoinExpression() public method

For joins that use one field from the Right DAO and compares on a value.
public RightPropertyValueEqualJoinExpression ( string property, object value, bool trueOrNot ) : System
property string The name of the property on the object returned by the /// Right DAO.
value object The value that the given property is compared to.
trueOrNot bool True means look for matches (I.E. ==), /// false means look for non-matches (I.E. !=)
return System