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

Inheritance: AbstractPropertyValueJoinExpression
显示文件 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.

LeftPropertyValueEqualJoinExpression ( string property, object value ) : System

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

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

For joins that use one field from the Left 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

LeftPropertyValueEqualJoinExpression() public method

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

LeftPropertyValueEqualJoinExpression() public method

For joins that use one field from the Left DAO and compares on a value.
public LeftPropertyValueEqualJoinExpression ( string property, object value, bool trueOrNot ) : System
property string The name of the property on the object returned by the /// Left 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